Skip to content

Commit 63fc74b

Browse files
committed
fix column headers for Margins tables, #333
1 parent 6ed9a79 commit 63fc74b

5 files changed

+7
-7
lines changed

data-raw/BEAData.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ getBEADetailMarginsBeforeRedef <- function(year, schema_year = NULL) {
10891089
# Trim table, assign column names
10901090
Margins <- Margins[!is.na(Margins[, 4]), ][-1, ]
10911091
rownames(Margins) <- NULL
1092-
colnames(Margins) <- c("NIPACode", "MarginsCategory",
1092+
colnames(Margins) <- c("IndustryCode", "IndustryDescription",
10931093
"CommodityCode", "CommodityDescription",
10941094
"ProducersValue", "Transportation",
10951095
"Wholesale", "Retail", "PurchasersValue")
-39 Bytes
Binary file not shown.
-13 Bytes
Binary file not shown.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"tool": ["useeior"],
33
"name_data": ["Detail_Margins_2012_BeforeRedef_17sch"],
4-
"tool_version": ["1.5.2"],
4+
"tool_version": ["1.7.2"],
55
"ext": ["json"],
6-
"date_created": ["2024-05-26"],
6+
"date_created": ["2025-07-28"],
77
"data_meta": {
88
"data_year": [2012],
99
"author": ["US Bureau of Economic Analysis"],
1010
"source_url": ["https://apps.bea.gov/industry/xls/underlying-estimates/Margins_Before_Redefinitions_2017_DET.xlsx"],
1111
"date_last_modified": ["2024-05-23"],
12-
"date_accessed": ["2024-05-26"]
12+
"date_accessed": ["2025-07-28"]
1313
}
1414
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"tool": ["useeior"],
33
"name_data": ["Detail_Margins_2017_BeforeRedef_17sch"],
4-
"tool_version": ["1.5.2"],
4+
"tool_version": ["1.7.2"],
55
"ext": ["json"],
6-
"date_created": ["2024-05-26"],
6+
"date_created": ["2025-07-28"],
77
"data_meta": {
88
"data_year": [2017],
99
"author": ["US Bureau of Economic Analysis"],
1010
"source_url": ["https://apps.bea.gov/industry/xls/underlying-estimates/Margins_Before_Redefinitions_2017_DET.xlsx"],
1111
"date_last_modified": ["2024-05-23"],
12-
"date_accessed": ["2024-05-26"]
12+
"date_accessed": ["2025-07-28"]
1313
}
1414
}

0 commit comments

Comments
 (0)