getRtoCalendar: create a master calendar for a specific RTO

Description Usage Arguments Details Examples

View source: R/rtoCal.R

Description

getRtoCalendar creates a master calendar and allow users to specify the calendar properties

Usage

1
2
getRtoCalendar(marketName, fromDate, toDate = NULL,
  props = STANDARD_CAL_PROPERTIES, byMinutes = NULL)

Arguments

marketName

an RTO name: MISO, SPP, CAISO,

fromDate

a date

toDate

a date, if NULL then one-day calendar is assumed.

props

a character vector that lists the requested properties

Details

Recognized properties are: START_DT, START_DT.GMT, DATE, DATE.YEARMONTH, END_DT, HOURENDING, TIMEOFUSE, SEASON, PO_INTERVAL, PLANNING_YEAR

Examples

1
cal <- getRtoCalendar('SPP', '2017-01-01','2017-04-01', props=c('DATE.YEARMONTH', 'START_DT', 'START_DT.GMT', 'TIMEOFUSE'))

go-yohan/sppcredit documentation built on May 20, 2019, 5:21 p.m.