get_interval_demand: Get Interval Demand Data from Encompass

Description Usage Arguments Value Examples

View source: R/get_interval_demand.R

Description

Get Interval Demand Data from Encompass

Usage

1
get_interval_demand(dbase_connection, scenario_id)

Arguments

dbase_connection

A database connection

scenario_id

The id of the encompass scenario

Value

data.frame

Examples

 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)

bsuhy/EncompassR documentation built on Feb. 22, 2022, 12:58 a.m.