Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/us_bea/states_gdp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ US state industry GDP is further broken down into:
3. Industry code 22: Utilities
4. Industry code 23: Construction
5. Industry code 31_33: Manufacturing
6. Industry code 321&327_339: Durable goods manufacturing
7. Industry code 311_316&322_326: Nondurable goods manufacturing
6. Industry code 321_327_339: Durable goods manufacturing
7. Industry code 311_316_322_326: Nondurable goods manufacturing
8. Industry code 42: Wholesale trade
9. Industry code 44_45: Retail trade
10. Industry code 48_49: Transportation and warehousing
Expand All @@ -51,6 +51,7 @@ US state industry GDP is further broken down into:
19. Industry code 71: Arts, entertainment, and recreation
20. Industry code 72: Accommodation and food services
21. Industry code 81: Other services (except government and government enterprises)
22. Industry code 92: Government and government enterprises


### Notes and Caveats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def generate_mcf(self):
'naics: dcid:NAICS/{naics}\n'
'statType: dcid:measuredValue\n\n')

with open('States_gdp_industry_statvars.mcf', 'w') as mcf_f:
with open('states_gdp_industry_statvars.mcf', 'w') as mcf_f:
for naics_code in self.clean_df['NAICS'].unique():
code_title = naics_code[38:]
code = code_title.replace('_', '-')
Expand Down
Loading
Loading