View source: R/CommodityFlowFunctions.R
calculateCommodityFlowRatios | R Documentation |
Calculate domestic/import/export commodity flow ratios by state
calculateCommodityFlowRatios(state, year, flow_ratio_type, ioschema, iolevel)
state |
State name. |
year |
A numeric value between 2012 and 2017 specifying the year of interest. |
flow_ratio_type |
Type of commodity flow, can be "domestic", "export", or "import". |
ioschema |
A numeric value of either 2012 or 2007 specifying the io schema year. |
iolevel |
BEA sector level of detail, currently can only be "Summary", theoretically can be "Detail", or "Sector" in future versions. |
A data frame contains commodity flow ratios by BEA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.