Skip to content

Commit

Permalink
Add acs2021_5yr
Browse files Browse the repository at this point in the history
  • Loading branch information
iandees committed Dec 11, 2022
1 parent 648574d commit 4d00648
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions censusreporter/apps/census/static/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ var sumlevMap = {
};

var releaseNames = {
'acs2021_5yr': {'name': 'ACS 2021 5-year', 'years': '2017-2021'},
'acs2021_1yr': {'name': 'ACS 2021 1-year', 'years': '2021'},
'acs2020_5yr': {'name': 'ACS 2020 5-year', 'years': '2016-2020'},
'acs2019_5yr': {'name': 'ACS 2019 5-year', 'years': '2015-2019'},
Expand Down
1 change: 1 addition & 0 deletions censusreporter/apps/census/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def get_ratio(num1, num2, precision=2):
]

ACS_RELEASES = {
'acs2021_5yr': {'name': 'ACS 2021 5-Year', 'slug': 'acs2021_5yr', 'years': '2017-2021'},
'acs2021_1yr': {'name': 'ACS 2021 1-Year', 'slug': 'acs2021_1yr', 'years': '2021'},
'acs2020_5yr': {'name': 'ACS 2020 5-Year', 'slug': 'acs2020_5yr', 'years': '2016-2020'},
'acs2019_5yr': {'name': 'ACS 2019 5-Year', 'slug': 'acs2019_5yr', 'years': '2015-2019'},
Expand Down

0 comments on commit 4d00648

Please sign in to comment.