Skip to content

Commit

Permalink
update MeasureofSpread and fix worksheet name
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Oct 22, 2024
1 parent 5be65a2 commit be1297d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flowsa/data_source_scripts/Census_SAS.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def census_sas_parse(*, df_list, year, **_):
# millions of dollars
df['FlowAmount'] = df['FlowAmount'].astype(float) * 1000000
df['Spread'] = pd.to_numeric(df['Spread'], errors='coerce')
df['MeasureofSpread'] = 'RSD'
df['MeasureofSpread'] = 'Coefficient of Variation'
df['Unit'] = 'USD'
df['FlowType'] = "ELEMENTARY_FLOW"
df['Compartment'] = None
Expand Down
2 changes: 1 addition & 1 deletion flowsa/methods/flowbyactivitymethods/Census_SAS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ url:
base_url: https://www2.census.gov/programs-surveys/sas/tables/time-series/sas-latest/sas-22.xlsx
sheets:
# Table1
Table3: Estimated Expense for Employer Firms
Table 3: Estimated Expense for Employer Firms
call_response_fxn: !script_function:Census_SAS census_sas_call
parse_response_fxn: !script_function:Census_SAS census_sas_parse
call_all_years: True
Expand Down

0 comments on commit be1297d

Please sign in to comment.