Skip to content

Model Approach

Mo Li edited this page Jun 30, 2022 · 7 revisions

It takes a multi-step approach to construct economic input-output (IO) tables in the form of two-region, state of interest (SoI) and rest of the United States (RoUS), at the level of summary resolution as defined by the U.S. Bureau of Economic Analysis.

The following table lists the 4 steps needed to generate two-region IO tables. Each step is a prerequisite for the next step. To generate data in each step, manually trigger the designation workflow in GitHub Actions.

Step Data Group Data Set Script (in /data-raw) GitHub Actions Workflow
1 Raw Data 1 BEA data 2, Census data 3, EIA data 4, FAF data 5, USASpending data 6 BEAData.R, CensusData.R, EIAData.R, FAFData.R, USASpendingData.R save-raw-data.yaml
2 State Supply Model Data State Make table and Commodity Output 7 StateSupplyModel.R save-state-supply-model-data.yaml
3 State Use Model Data State Use table, Domestic Use table, and Industry Output StateUseModel.R save-state-use-model-data.yaml
4 Two-Region Model Data Two-Region Make, Use, Domestic Use, and Domestic Use with trade tables, Industry and Commodity Output, Value Added TwoRegionModel.R save-two-region-model-data.yaml

1 The BEA employment data is generated and saved by executing the BEAData_wAPI.R script instead of running the workflow to avoid HTTP Error 429.

2 BEA data includes State Employment Compensation, GOS, GVA, PCE, Tax, Government Consumption and Investment.

3 Census data includes State & Local Government Expenditure, State Trade.

4 EIA data includes State Electricity Consumption and Trade.

5 FAF data includes State Commodity Flow.

6 USASpending data includes Federal Government Expenditure.

7 Commodity Output will be validated against Two-Region Commodity Output after Step 4.

Clone this wiki locally