get_cer: Imports and returns a cleaned data table of the ISSDA's CER...

Description Usage Arguments Value Examples

View source: R/get_cer_data.R

Description

Imports and returns a cleaned data table of the ISSDA's CER Smart Meter Data. The returned object can be huge (up to 8 gb of RAM). The package comes with default data tables but if they are missing, source the ISSDA_CER_Smart_Metering_Data folder from Dropbox.

Usage

1
2
get_cer(cer_dir = "~/Dropbox/ISSDA_CER_Smart_Metering_Data/",
  only_kwh = TRUE, yr = NULL, mo = NULL, hr = NULL)

Arguments

cer_dir

path to folder of CER Smart Meter Data and support files.

only_kwh

trigger to import consumption data with assignment and timeseries data only.

yr

specify years.

mo

specify months.

hr

specify hour.

Value

A data table of CER Smart Meter data.

Examples

1
2
# get 2009 data, kwh data only (much smaller but still large)
get_cer(cer_dir="~/Dropbox/ISSDA_CER_Smart_Metering_Data", only_kwh=TRUE, yr = 2009)

ultinomics/CERsmartmeter documentation built on May 3, 2019, 2:24 p.m.