Skip to content

Commit

Permalink
minor edits for new GO file
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Mar 22, 2024
1 parent eb955fe commit 8595c3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flowsa/data_source_scripts/BEA.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def bea_parse(*, source, year, **_):
filename = source.replace('_Use_', f'_Use_{year}_')
elif 'Supply' in source:
filename = f'{source}_{year}_17sch'
else:
filename = source
else: # GrossOutput_IO
filename = f'{source}_17sch' if int(year) >= 2017 else source

df = pd.read_csv(externaldatapath / f"{filename}.csv")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ years:
- 2017
- 2018
- 2019
- 2020
- 2020
- 2021
- 2022

0 comments on commit 8595c3c

Please sign in to comment.