Description Usage Arguments Value Examples
View source: R/get_interval_demand.R
Get Interval Demand Data from Encompass
1 | get_interval_demand(dbase_connection, scenario_id)
|
dbase_connection |
A database connection |
scenario_id |
The id of the encompass scenario |
data.frame
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
Set up a database connection
con <- DBI::dbConnect(odbc::odbc(), "MPWENCSQL01", database = "IRP - Brocks Test")
Run the query
get_interval_demand(con, "SCMWM00003")
Close the database connection
DBI::dbDisconnect(con)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.