Skip to content

Commit

Permalink
add updated Summary 2017-2022 Supply and Use tables and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
WesIngwersen committed Oct 12, 2023
1 parent 9fffbd9 commit 9b8152e
Show file tree
Hide file tree
Showing 25 changed files with 1,145 additions and 0 deletions.
75 changes: 75 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Supply_2017.csv

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Supply_2018.csv

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Supply_2019.csv

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Supply_2020.csv

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Supply_2021.csv

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Supply_2022.csv

Large diffs are not rendered by default.

84 changes: 84 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Use_SUT_2017.csv

Large diffs are not rendered by default.

84 changes: 84 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Use_SUT_2018.csv

Large diffs are not rendered by default.

84 changes: 84 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Use_SUT_2019.csv

Large diffs are not rendered by default.

84 changes: 84 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Use_SUT_2020.csv

Large diffs are not rendered by default.

84 changes: 84 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Use_SUT_2021.csv

Large diffs are not rendered by default.

84 changes: 84 additions & 0 deletions flowsa/data/external_data/BEA_Summary_Use_SUT_2022.csv

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Supply_2017_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Supply_2017"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2017],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Supply_2018_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Supply_2018"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2018],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Supply_2019_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Supply_2019"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2019],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Supply_2020_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Supply_2020"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2020],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Supply_2021_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Supply_2021"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2021],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Supply_2022_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Supply_2022"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2022],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Use_SUT_2017_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Use_SUT_2017"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2017],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Use_SUT_2018_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Use_SUT_2018"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2018],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Use_SUT_2019_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Use_SUT_2019"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2019],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Use_SUT_2020_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Use_SUT_2020"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2020],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Use_SUT_2021_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Use_SUT_2021"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2021],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
14 changes: 14 additions & 0 deletions flowsa/data/external_data/Summary_Use_SUT_2022_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Summary_Use_SUT_2022"],
"tool_version": ["1.4.0"],
"ext": ["json"],
"date_created": ["2023-10-12"],
"data_meta": {
"data_year": [2022],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesSUP.zip"],
"date_last_modified": ["2023-09-13"],
"date_accessed": ["2023-10-12"]
}
}
23 changes: 23 additions & 0 deletions scripts/write_BEA_data_from_useeior.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,29 @@
The metadata file 'BEA_Detail_Supply_2017_metadata.json' was manually copied from useeior/extdata/metadata
---
---
The BEA_Summary_Supply and BEA_Summary_Supply csvs was pulled from
useeior @a89af7c5adff70ea743e4aab783cfa924a53c0bd using this code
load_all()
for (y in 2017:2022) {
name <- paste0('Summary_Supply_',y)
S <- get(name)
write.csv(S,paste0("BEA_",name,".csv"))
# name <- paste0('Summary_Use_SUT_',y)
# S <- get(name)
# write.csv(S,paste0("BEA_",name,".csv"))
}
The original files are found here:
https://github.com/USEPA/useeior/blob/a89af7c5adff70ea743e4aab783cfa924a53c0bd/data/
The metadata were manually copied from useeior/extdata/metadata
---
---
The BEA_Detail_GrossOutput was pulled from
USEEIOR's Detail_GrossOutput_IO.rda on 09/06/2023.
Expand Down

0 comments on commit 9b8152e

Please sign in to comment.