Pull one year of data from the CR, EAR, UWMP, and WLA and compiles it into a single format.

pull_data(
  category_selection = c("supply", "demand", "supply total", "demand total", "losses",
    "other"),
  year_selection,
  report_selection = c("EAR", "UWMP", "CR", "WLA"),
  pwsid,
  ...
)

Arguments

category_selection

Describes type of data to pull. Can be "supply", "supply total", "demand", "demand total", "losses", other

year_selection

One year to filter data to (ex 2016).

report_selection

Specifies which report to pull data from. Can be one of "EAR", "UWMP" "CR", or "WLA"

Value

A table containing 8 columns: report_name, pwsid, supplier_name, year, month, category, volume_af, use_group