query_master_each: Open one database and query data

Description Usage Arguments See Also

Description

Used internally by query_master. Use that function instead to access data. The use of this function is not recommended

Usage

1
2
query_master_each(db, time, col, prop, columns = "name", time.range = NULL,
  filter = NULL, phase = 4)

Arguments

db

PLEXOS database object

time

character. Table to query from (interval, day, week, month, year)

col

character. Collection to query

prop

character vector. Property or properties to query

columns

character. Data columns to query or aggregate by (defaults to name)

time.range

POSIXt or character. Range of dates of length 2 (given as date, datetime or character in 'ymdhms' or 'ymd' format). The Plexos data is assumed to be in UTC so providing a POSIXt vector in a different timezone might cause conflicts. Character vectors are also converted to the UTC format, so here there is not issue.

filter

list. Used to filter by data columns (see details)

phase

integer. PLEXOS optimization phase (1-LT, 2-PASA, 3-MT, 4-ST)

See Also

query_master to query PLEXOS solutions


NREL/rplexos documentation built on May 7, 2019, 6:03 p.m.