Skip to content

Commit

Permalink
Merge pull request #293 from USEPA/2017tables
Browse files Browse the repository at this point in the history
v1.5.2 - Summary tables for 2012-2016 in 2017 schema
  • Loading branch information
bl-young authored Jun 14, 2024
2 parents ae9d969 + ed27141 commit f01cd97
Show file tree
Hide file tree
Showing 283 changed files with 1,979 additions and 377 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: useeior
Type: Package
Title: USEEIO R modeling software
Version: 1.5.1
Date: 2024-4-8
Version: 1.5.2
Date: 2024-5-23
Authors@R: c(
person("Ben","Young", email="[email protected]", role="aut"),
person("Jorge","Vendries", email="[email protected]", role="aut"),
Expand Down Expand Up @@ -40,6 +40,7 @@ Depends:
License: file LICENSE
Encoding: UTF-8
LazyData: true
LazyDataCompression: xz
RoxygenNote: 7.2.3
Suggests:
testthat (>= 3.0.0)
Expand Down
248 changes: 232 additions & 16 deletions R/DataDocumentation.R

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions R/IOFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ transformIndustryCPItoCommodityCPIforYear <- function(year, model) {
# To avoid interruption in later calculations, they are forced to 100
CommodityCPI[CommodityCPI==0] <- 100
# Validation: check if IO year CommodityCPI is 100
if (year==2012) {
if (year==model$specs$BaseIOSchema) {
for (s in CommodityCPI) {
if (abs(100-s)>0.3) {
if (abs(100-s)>0.4) {
stop("Error in CommodityCPI")
}
}
Expand Down
81 changes: 48 additions & 33 deletions data-raw/BEAData.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ url_ls <- c(IO = "https://apps.bea.gov/industry/iTables%20Static%20Files/AllTabl
dir <- file.path(rappdirs::user_data_dir(), "USEEIO-input")
dir.create(dir, showWarnings = FALSE)

# Summary table year range
start_year <- 2012
end_year <- 2022

# Download and unzip all IO tables under Make-Use framework from BEA iTable
getBEAIOTables <- function() {
# Create the placeholder file
Expand Down Expand Up @@ -174,23 +178,29 @@ writeFile <- function(df, year, name, ls, schema_year) {
}

# Get BEA Detail Make (Before Redef) table from static Excel
getBEADetailMakeBeforeRedef <- function(year) {
getBEADetailMakeBeforeRedef <- function(year, schema_year = NULL) {
if(is.null(schema_year)) {
schema_year <- year
}
ls <- unpackFile(year, filename="IOMake_Before_Redefinitions", ioschema="Detail")
DetailMake <- data.frame(ls["df"])
DetailMake <- processDetailMatrix(DetailMake)
writeFile(df = DetailMake, year = year,
name = paste0("Detail_Make_", year, "_BeforeRedef"), ls = ls,
schema_year = year)
schema_year = schema_year)
}

# Get BEA Detail Use (PRO, Before Redef) table from static Excel
getBEADetailUsePROBeforeRedef <- function(year) {
getBEADetailUsePROBeforeRedef <- function(year, schema_year = NULL) {
if(is.null(schema_year)) {
schema_year <- year
}
ls <- unpackFile(year, filename="IOUse_Before_Redefinitions_PRO", ioschema="Detail")
DetailUse <- data.frame(ls["df"])
DetailUse <- processDetailMatrix(DetailUse)
writeFile(df = DetailUse, year = year,
name = paste0("Detail_Use_", year, "_PRO_BeforeRedef"), ls = ls,
schema_year = year)
schema_year = schema_year)
}

# Get BEA Detail Use (PUR, Before Redef) table from static Excel
Expand Down Expand Up @@ -236,8 +246,7 @@ getBEADetailUsePURAfterRedef <- function(year) {

# Get BEA Summary Make (Before Redef) table from static Excel
getBEASummaryMakeBeforeRedef <- function(year) {
end_year <- 2022
for (y in 2017:end_year) {
for (y in start_year:end_year) {
ls <- unpackFile(y, filename="IOMake_Before_Redefinitions", ioschema="Summary")
SummaryMake <- data.frame(ls["df"])
SummaryMake <- processSummaryMatrix(SummaryMake)
Expand All @@ -249,8 +258,7 @@ getBEASummaryMakeBeforeRedef <- function(year) {

# Get BEA Summary Use (PRO, Before Redef) table from static Excel
getBEASummaryUsePROBeforeRedef <- function(year) {
end_year <- 2022
for (y in 2017:end_year) {
for (y in start_year:end_year) {
ls <- unpackFile(y, filename="IOUse_Before_Redefinitions_PRO", ioschema="Summary")
SummaryUse <- data.frame(ls["df"])
SummaryUse <- processSummaryMatrix(SummaryUse)
Expand All @@ -272,8 +280,7 @@ getBEASummaryUsePURBeforeRedef <- function(year) {

# Get BEA Summary Make (After Redef) table from static Excel
getBEASummaryMakeAfterRedef <- function(year) {
end_year <- 2022
for (y in 2017:end_year) {
for (y in start_year:end_year) {
ls <- unpackFile(y, filename="IOMake_After_Redefinitions", ioschema="Summary")
SummaryMake <- data.frame(ls["df"])
SummaryMake <- processSummaryMatrix(SummaryMake)
Expand All @@ -285,8 +292,7 @@ getBEASummaryMakeAfterRedef <- function(year) {

# Get BEA Summary Use (PRO, After Redef) table from static Excel
getBEASummaryUsePROAfterRedef <- function(year) {
end_year <- 2022
for (y in 2017:end_year) {
for (y in start_year:end_year) {
ls <- unpackFile(y, filename="IOUse_After_Redefinitions_PRO", ioschema="Summary")
SummaryUse <- data.frame(ls["df"])
SummaryUse <- processSummaryMatrix(SummaryUse)
Expand Down Expand Up @@ -519,9 +525,12 @@ getBEASummaryUsePROAfterRedef <- function(year) {
# }

# Get BEA Detail Import (Before Redef schema) from static Excel
getBEADetailImportBeforeRedef <- function(year) {
getBEADetailImportBeforeRedef <- function(year, schema_year = NULL) {
if(is.null(schema_year)) {
schema_year <- year
}
# Download data
file <- paste0("ImportMatrices_Before_Redefinitions_DET_", year, ".xlsx")
file <- paste0("ImportMatrices_Before_Redefinitions_DET_", schema_year, ".xlsx")
url <- file.path(url_ls["imports"], file)
FileName <- file.path(dir, "/", file)
if (!file.exists(FileName)) {
Expand All @@ -536,27 +545,26 @@ getBEADetailImportBeforeRedef <- function(year) {
"date_last_modified" = "unknown")
writeFile(df = DetailImport, year = year,
name = paste0("Detail_Import_", year, "_BeforeRedef"), ls = ls,
schema_year = year)
schema_year = schema_year)
}

# Get BEA Summary Import (Before Redef) from static Excel
getBEASummaryImportBeforeRedef <- function(year) {
# Download data
file <- "ImportMatrices_Before_Redefinitions_SUM_2017-2022.xlsx"
file <- "ImportMatrices_Before_Redefinitions_SUM_1997-2022.xlsx"
url <- file.path(url_ls["imports"], file)
FileName <- file.path(dir, file)
if (!file.exists(FileName)) {
utils::download.file(url, FileName, mode = "wb")
}
end_year <- 2022
# Load data
for (y in 2017:end_year) {
for (y in start_year:end_year) {
SummaryImport <- data.frame(readxl::read_excel(FileName,
sheet = as.character(year)))
SummaryImport <- processSummaryMatrix(SummaryImport)
ls <- list("url" = url,
"date_accessed" = as.character(as.Date(file.mtime(FileName))),
"date_last_modified" = "2024-02-01") # page last modified
"date_last_modified" = "2024-05-23") # page last modified
writeFile(df = SummaryImport, year = y,
name = paste0("Summary_Import_", y, "_BeforeRedef"), ls = ls,
schema_year = year)
Expand Down Expand Up @@ -1065,9 +1073,12 @@ getBEACodeName <- function(schema_year) {
}

# Get Detail Margins (Before Redefinition) table from BEA static URL
getBEADetailMarginsBeforeRedef <- function(year) {
getBEADetailMarginsBeforeRedef <- function(year, schema_year = NULL) {
if(is.null(schema_year)) {
schema_year <- year
}
# Download data
file <- "Margins_Before_Redefinitions_2017_DET.xlsx"
file <- paste0("Margins_Before_Redefinitions_", schema_year, "_DET.xlsx")
url <- file.path(url_ls["margins"], file)
FileName <- file.path(dir, file)
if (!file.exists(FileName)) {
Expand All @@ -1088,42 +1099,48 @@ getBEADetailMarginsBeforeRedef <- function(year) {
check.names = FALSE)
ls <- list("url" = url,
"date_accessed" = as.character(as.Date(file.mtime(FileName))),
"date_last_modified" = "2024-02-01") # page last modified
"date_last_modified" = "2024-05-23") # page last modified
writeFile(df = Margins, year = year,
name = paste0("Detail_Margins_", year, "_BeforeRedef"), ls = ls,
schema_year = year)
schema_year = schema_year)
}


# Get BEA Detail Supply table from static Excel
getBEADetailSupply <- function(year) {
getBEADetailSupply <- function(year, schema_year = NULL) {
if(is.null(schema_year)) {
schema_year <- year
}
ls <- getBEASupplyUseTables()
FileName <- file.path(dir, "AllTablesSUP",
ls[["files"]][startsWith(ls[["files"]], "Supply") &
endsWith(ls[["files"]], "DET.xlsx")])
ls["date_last_modified"] <- "2024-02-01" # page last modified
ls["date_last_modified"] <- as.character(as.Date(file.mtime(FileName)))
DetailSupply <- as.data.frame(readxl::read_excel(FileName,
sheet = as.character(year)))
DetailSupply <- processDetailMatrix(DetailSupply)
writeFile(df = DetailSupply, year = year,
name = paste0("Detail_Supply_", year), ls = ls,
schema_year = year)
schema_year = schema_year)
}


# Get BEA Detail Use (under the Supply-Use framework schema) table from static Excel
getBEADetailUseSUT <- function(year) {
getBEADetailUseSUT <- function(year, schema_year = NULL) {
if(is.null(schema_year)) {
schema_year <- year
}
ls <- getBEASupplyUseTables()
FileName <- file.path(dir, "AllTablesSUP",
ls[["files"]][startsWith(ls[["files"]], "Use") &
endsWith(ls[["files"]], "DET.xlsx")])
ls["date_last_modified"] = "2024-02-01" # page last modified
ls["date_last_modified"] = as.character(as.Date(file.mtime(FileName)))
DetailUse <- as.data.frame(readxl::read_excel(FileName,
sheet = as.character(year)))
DetailUse <- processDetailMatrix(DetailUse)
writeFile(df = DetailUse, year = year,
name = paste0("Detail_Use_SUT_", year), ls = ls,
schema_year = year)
schema_year = schema_year)
}


Expand All @@ -1134,9 +1151,8 @@ getBEASummarySupply <- function(year) {
file <- ls[["files"]][startsWith(ls[["files"]], "Supply") &
endsWith(ls[["files"]], "Summary.xlsx")]
FileName <- file.path(dir, "AllTablesSUP", file)
end_year <- 2022
# Load data
for (y in 2017:end_year) {
for (y in start_year:end_year) {
SummarySupply <- as.data.frame(readxl::read_excel(FileName,
sheet = as.character(y)))
SummarySupply <- processSummaryMatrix(SummarySupply)
Expand All @@ -1152,9 +1168,8 @@ getBEASummaryUseSUT <- function(year) {
file <- ls[["files"]][startsWith(ls[["files"]], "Use") &
endsWith(ls[["files"]], "Summary.xlsx")]
FileName <- file.path(dir, "AllTablesSUP", file)
end_year <- 2022
# Load data
for (y in 2017:end_year) {
for (y in start_year:end_year) {
SummaryUse <- as.data.frame(readxl::read_excel(FileName,
sheet = as.character(year)))
SummaryUse <- processSummaryMatrix(SummaryUse)
Expand Down
18 changes: 12 additions & 6 deletions data-raw/BEAData_Detail.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ schema_year <- 2017


# Download, save and document BEA Detail Make (Before Redef)
getBEADetailMakeBeforeRedef(schema_year)
getBEADetailMakeBeforeRedef(year=2012, schema_year)
getBEADetailMakeBeforeRedef(year=2017, schema_year)

# Download, save and document BEA Detail Use (PRO, Before Redef)
getBEADetailUsePROBeforeRedef(schema_year)
getBEADetailUsePROBeforeRedef(year=2012, schema_year)
getBEADetailUsePROBeforeRedef(year=2017, schema_year)

# Download, save and document BEA Detail Use (PUR, Before Redef)
getBEADetailUsePURBeforeRedef(schema_year)
Expand All @@ -26,18 +28,22 @@ getBEADetailUsePURAfterRedef(schema_year)
getBEASummaryUsePURBeforeRedef(schema_year)

# Download, save and document BEA Detail Import matrix
getBEADetailImportBeforeRedef(schema_year)
getBEADetailImportBeforeRedef(year=2012, schema_year)
getBEADetailImportBeforeRedef(year=2017, schema_year)

# Download, save and document BEA Detail, Summary, and Sector Code and Name
getBEACodeName(schema_year)

# Download, save and document BEA Detail Margins table
getBEADetailMarginsBeforeRedef(schema_year)
getBEADetailMarginsBeforeRedef(year=2012, schema_year)
getBEADetailMarginsBeforeRedef(year=2017, schema_year)

## Supply and Use Tables
# Download, save and document BEA Detail Supply
getBEADetailSupply(schema_year)
getBEADetailSupply(year=2012, schema_year)
getBEADetailSupply(year=2017, schema_year)

# Download, save and document BEA Detail Use
getBEADetailUseSUT(schema_year)
getBEADetailUseSUT(year=2012, schema_year)
getBEADetailUseSUT(year=2017, schema_year)

2 changes: 1 addition & 1 deletion data-raw/BEAData_Support.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source("data-raw/BEAData.R")
source("R/UtilityFunctions.R")

schema_year <- 2017
# 2017 - 2022 tables
# 2012 - 2022 tables


## Annual Summary Make and Use
Expand Down
Binary file modified data/Detail_CPI_IO_17sch.rda
Binary file not shown.
Binary file modified data/Detail_CommodityCodeName_2017.rda
Binary file not shown.
Binary file modified data/Detail_FinalDemandCodeName_2017.rda
Binary file not shown.
Binary file modified data/Detail_GrossOutput_IO_17sch.rda
Binary file not shown.
Binary file added data/Detail_Import_2012_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Detail_Import_2017_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Detail_IndustryCodeName_2017.rda
Binary file not shown.
Binary file added data/Detail_Make_2012_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Detail_Make_2017_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Detail_Make_2017_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Detail_Margins_2012_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Detail_Margins_2017_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Detail_Supply_2012_17sch.rda
Binary file not shown.
Binary file modified data/Detail_Supply_2017_17sch.rda
Binary file not shown.
Binary file added data/Detail_Use_2012_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Detail_Use_2017_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Detail_Use_2017_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Detail_Use_2017_PUR_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Detail_Use_2017_PUR_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Detail_Use_SUT_2012_17sch.rda
Binary file not shown.
Binary file modified data/Detail_Use_SUT_2017_17sch.rda
Binary file not shown.
Binary file modified data/Detail_ValueAddedCodeName_2017.rda
Binary file not shown.
Binary file modified data/Sector_CPI_IO_17sch.rda
Binary file not shown.
Binary file modified data/Sector_CommodityCodeName_2017.rda
Binary file not shown.
Binary file modified data/Sector_FinalDemandCodeName_2017.rda
Binary file not shown.
Binary file modified data/Sector_GrossOutput_IO_17sch.rda
Binary file not shown.
Binary file modified data/Sector_IndustryCodeName_2017.rda
Binary file not shown.
Binary file modified data/Sector_ValueAddedCodeName_2017.rda
Binary file not shown.
Binary file modified data/Sector_ValueAdded_IO_17sch.rda
Binary file not shown.
Binary file modified data/Summary_CPI_IO_17sch.rda
Binary file not shown.
Binary file modified data/Summary_CommodityCodeName_2017.rda
Binary file not shown.
Binary file modified data/Summary_FinalDemandCodeName_2017.rda
Binary file not shown.
Binary file modified data/Summary_GrossOutput_IO_17sch.rda
Binary file not shown.
Binary file added data/Summary_Import_2012_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Import_2013_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Import_2014_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Import_2015_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Import_2016_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Import_2017_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Import_2018_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Import_2019_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Import_2020_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Import_2021_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Import_2022_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_IndustryCodeName_2017.rda
Binary file not shown.
Binary file added data/Summary_Make_2012_AfterRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Make_2012_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Make_2013_AfterRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Make_2013_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Make_2014_AfterRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Make_2014_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Make_2015_AfterRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Make_2015_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Make_2016_AfterRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Make_2016_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2017_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2017_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2018_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2018_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2019_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2019_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2020_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2020_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2021_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2021_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2022_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Make_2022_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Supply_2012_17sch.rda
Binary file not shown.
Binary file added data/Summary_Supply_2013_17sch.rda
Binary file not shown.
Binary file added data/Summary_Supply_2014_17sch.rda
Binary file not shown.
Binary file added data/Summary_Supply_2015_17sch.rda
Binary file not shown.
Binary file added data/Summary_Supply_2016_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Supply_2017_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Supply_2018_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Supply_2019_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Supply_2020_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Supply_2021_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Supply_2022_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_2012_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file not shown.
Binary file added data/Summary_Use_2013_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_2013_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_2014_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_2014_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_2015_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_2015_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_2016_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_2016_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2017_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2017_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2017_PUR_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2018_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2018_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2019_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2019_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2020_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2020_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2021_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2021_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2022_PRO_AfterRedef_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_2022_PRO_BeforeRedef_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_SUT_2012_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_SUT_2013_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_SUT_2014_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_SUT_2015_17sch.rda
Binary file not shown.
Binary file added data/Summary_Use_SUT_2016_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_SUT_2017_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_SUT_2018_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_SUT_2019_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_SUT_2020_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_SUT_2021_17sch.rda
Binary file not shown.
Binary file modified data/Summary_Use_SUT_2022_17sch.rda
Binary file not shown.
Binary file modified data/Summary_ValueAddedCodeName_2017.rda
Binary file not shown.
Binary file modified data/Summary_ValueAdded_IO_17sch.rda
Binary file not shown.
10 changes: 5 additions & 5 deletions inst/extdata/metadata/Detail_CPI_IO_17sch_metadata.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Detail_CPI_IO_17sch"],
"tool_version": ["1.5.0"],
"tool_version": ["1.5.2"],
"ext": ["json"],
"date_created": ["2024-03-22"],
"date_created": ["2024-05-23"],
"data_meta": {
"data_year": ["2017", "2018", "2019", "2020", "2021", "2022"],
"data_year": ["1997", "1998", "1999", "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022"],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/Release/ZIP/UGdpByInd.zip"],
"date_last_modified": ["2023-11-20"],
"date_accessed": ["2024-03-22"]
"date_last_modified": ["2024-05-22"],
"date_accessed": ["2024-05-23"]
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Detail_CommodityCodeName_2017"],
"tool_version": ["1.5.0"],
"tool_version": ["1.5.2"],
"ext": ["json"],
"date_created": ["2024-03-22"],
"date_created": ["2024-05-26"],
"data_meta": {
"data_year": [2017],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesIO.zip"],
"date_last_modified": ["2023-12-07"],
"date_accessed": ["2024-03-22"]
"date_last_modified": ["2024-05-13"],
"date_accessed": ["2024-05-26"]
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Detail_FinalDemandCodeName_2017"],
"tool_version": ["1.5.0"],
"tool_version": ["1.5.2"],
"ext": ["json"],
"date_created": ["2024-03-22"],
"date_created": ["2024-05-26"],
"data_meta": {
"data_year": [2017],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/iTables%20Static%20Files/AllTablesIO.zip"],
"date_last_modified": ["2023-12-07"],
"date_accessed": ["2024-03-22"]
"date_last_modified": ["2024-05-13"],
"date_accessed": ["2024-05-26"]
}
}
10 changes: 5 additions & 5 deletions inst/extdata/metadata/Detail_GrossOutput_IO_17sch_metadata.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"tool": ["useeior"],
"name_data": ["Detail_GrossOutput_IO_17sch"],
"tool_version": ["1.5.0"],
"tool_version": ["1.5.2"],
"ext": ["json"],
"date_created": ["2024-03-22"],
"date_created": ["2024-05-23"],
"data_meta": {
"data_year": ["2017", "2018", "2019", "2020", "2021", "2022"],
"data_year": ["1997", "1998", "1999", "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022"],
"author": ["US Bureau of Economic Analysis"],
"source_url": ["https://apps.bea.gov/industry/Release/ZIP/UGdpByInd.zip"],
"date_last_modified": ["2023-11-20"],
"date_accessed": ["2024-03-22"]
"date_last_modified": ["2024-05-22"],
"date_accessed": ["2024-05-23"]
}
}
Loading

0 comments on commit f01cd97

Please sign in to comment.