View source: R/StateSupplyFunctions.R
calculateStateUSValueAddedRatio | R Documentation |
Calculate state-US GVA (value added) ratios at BEA Summary level. There are two prerequisite steps embedded in thus function. Prerequisite #1: state_GVA is calculated from the SAGDP state GVA data, via getStateGVA(year), which is originally by LineCode then mapped to BEA industries using mapStateTabletoBEASummary("GVA", year). Prerequisite #2: where GVA must be allocated from one LineCode to multiple BEA industries, including sectors of retail, real estate, fed gov non-defense, and state & local gov, allocation factors are calculated using calculateStatetoBEASummaryAllocationFactor(year, "Employment")). When using state employment (from BEA) as source for allocation, introduce national GVA to disaggregate state employment in real estate and gov industries from LineCode to BEA Summary.
calculateStateUSValueAddedRatio(year)
year |
A numeric value between 2007 and 2017 specifying the year of interest. |
A data frame contains ratios of state/US GVA (value added) for all states at a specific year at BEA Summary level.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.