TOU_to_streaming | R Documentation |
Function to import CSV files that contain TOU rate information and convert the TOU structure to a streaming structure.
TOU_to_streaming(
holidays,
tou_file,
start_date,
end_date,
time_zone = "America/Los_Angeles",
verbose = FALSE
)
holidays |
data.frame of holiday dates and information from import_holidays() |
tou_file |
atomic character with the path to a CSV file with TOU rate information |
start_date |
atomic character or Date for the beginning of the period the streaming rate should cover |
end_date |
atomic character or Date for the end of the period the streaming rate should cover |
time_zone |
atomic character the time zone where the rate is offered. This should be one of the time zones listed in OlsonNames(). Dates and times in the CSV are assumed to be in the specified time zone. |
verbose |
atomic logical whether to print messages to support debugging |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.