Skip to content

Commit 6f157aa

Browse files
committed
add sample detail model w/ 2017 schema
1 parent 72b6432 commit 6f157aa

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ jobs:
7575
useeior::printValidationResults(m)
7676
shell: Rscript {0}
7777

78+
- name: Build and validate models - USEEIOv2.1 detail model, 2017 schema
79+
if: always()
80+
run: |
81+
require(devtools)
82+
devtools::load_all()
83+
m <- useeior::buildModel("USEEIOv2.1-GHG")
84+
useeior::printValidationResults(m)
85+
shell: Rscript {0}
86+
7887
- name: Build and validate models - USEEIOv2.0-i-411 detail industry model with waste disaggregation
7988
if: always()
8089
run: |
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
Model: "USEEIOv2.1-GHG" # 2017 Detail, Commodity
2+
BaseIOSchema: 2017
3+
BaseIOLevel: "Detail"
4+
IOYear: 2017 # Year for IO data
5+
ModelRegionAcronyms: ["US"]
6+
ModelType: "EEIO"
7+
IODataSource: "BEA"
8+
BasePriceType: "PRO" #producer
9+
BasewithRedefinitions: FALSE
10+
CommodityorIndustryType: "Commodity"
11+
ScrapIncluded: FALSE
12+
DisaggregationSpecs: null
13+
14+
SatelliteTable:
15+
GHG:
16+
FullName: "Greenhouse Gases"
17+
Abbreviation: "GHG"
18+
StaticSource: TRUE
19+
StaticFile: "flowsa/FlowBySector/GHG_national_2020_m2_v2.0.1_1d3a514.parquet"
20+
FileLocation: "DataCommons"
21+
DataYears: [2020]
22+
Locations: ["US"]
23+
SectorListSource: "NAICS"
24+
SectorListYear: 2017
25+
SectorListLevel: "6"
26+
OriginalFlowSource: "FEDEFLv1.1.0"
27+
ScriptFunctionCall: "getFlowbySectorCollapsed" #function to call for script
28+
ScriptFunctionParameters: null
29+
DataSources:
30+
USEPA_GHG_2022:
31+
Title: "GHG Inventory"
32+
Author: "USEPA"
33+
DataYear: 2020
34+
URL: "https://www.epa.gov/ghgemissions/inventory-us-greenhouse-gas-emissions-and-sinks-1990-2020"
35+
Primary: TRUE
36+
37+
Indicators:
38+
GreenhouseGases:
39+
Name: "Greenhouse Gases"
40+
Code: "GHG"
41+
Group: "Impact Potential"
42+
Unit: "kg CO2 eq"
43+
SimpleUnit: "Kilograms Carbon Dioxide (CO2)"
44+
SimpleName: "Greenhouse Gases"
45+
StaticSource: TRUE
46+
StaticFile: "lciafmt/traci/TRACI_2.1_v1.0.0_5555779.parquet"
47+
FileLocation: "DataCommons"
48+
ScriptFunctionCall: "getImpactMethod" #function to call for script
49+
ScriptFunctionParameters:
50+
indicators: ["Global warming"]
51+
DataSources:
52+
USEPA_TRACI_2.1:
53+
Title: "TRACI 2.1"
54+
Author: "USEPA"
55+
DataYear: NA
56+
URL: "https://www.epa.gov/chemical-research/tool-reduction-and-assessment-chemicals-and-other-environmental-impacts-traci"
57+
Primary: TRUE
58+
59+
DemandVectors:
60+
DefaultDemand: "DefaultDemandVectors" # Name of default demand vectors yml file
61+
# Additional demand vectors beyond useeior defaults

0 commit comments

Comments
 (0)