Skip to content

Commit

Permalink
add in 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhya-k committed Aug 4, 2023
1 parent 94dfe9e commit 4d00a48
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Usage: censusdatadownloader [OPTIONS] TABLE COMMAND [ARGS]...

Options:
--data-dir TEXT The folder where you want to download the data
--year [2009-2020] The years of data to download. By default it gets only the
--year [2009-2021] The years of data to download. By default it gets only the
latest year. Not all data are available for every year. Submit 'all' to get every year.
--force Force the downloading of the data
--help Show this message and exit.
Expand Down
3 changes: 3 additions & 0 deletions census_data_downloader/core/geotypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class BaseGeoTypeDownloader(object):
Expects a TableConfig instance and year as input.
"""
YEAR_LIST = [
2021,
2020,
2019,
2018,
Expand Down Expand Up @@ -361,6 +362,7 @@ class CnectasDownloader(BaseGeoTypeDownloader):
Download raw data at the combined New England city and town level.
"""
YEAR_LIST = [
2021,
2020,
2019,
2018,
Expand Down Expand Up @@ -402,6 +404,7 @@ class ZctasDownloader(BaseGeoTypeDownloader):
Download raw data at the zipcode-tabulation-area level.
"""
YEAR_LIST = [
2021,
2020,
2019,
2018,
Expand Down
1 change: 1 addition & 0 deletions census_data_downloader/core/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class BaseTableConfig(object):
PARENT_DIR = THIS_DIR.parent
# All available years
YEAR_LIST = [
2021,
2020,
2019,
2018,
Expand Down

0 comments on commit 4d00a48

Please sign in to comment.