loadStateIODataFile: Load StateIO data file from Data Commons or local data...

View source: R/UtilityFunctions.R

loadStateIODataFileR Documentation

Load StateIO data file from Data Commons or local data directory.

Description

If the file is not found locally, it will be downloaded from Data Commons. Available files can be found on https://dmap-data-commons-ord.s3.amazonaws.com/index.html#stateio/. These include Use, DomesticUse, and IndustryOutput tables, among others.

Usage

loadStateIODataFile(filename, ver = NULL)

Arguments

filename

A string specifying filename, e.g. "State_Summary_Use_2017".

ver

A string specifying version of the data, default is NULL, can be "v0.1.0".

Value

A StateIO data product (usually a list of dataframes).


USEPA/stateio documentation built on March 29, 2025, 2:24 p.m.