diff --git a/README.md b/README.md index 1b09840..ea5fe25 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/census_data_downloader/core/geotypes.py b/census_data_downloader/core/geotypes.py index 2ba49f7..d8b4bf2 100644 --- a/census_data_downloader/core/geotypes.py +++ b/census_data_downloader/core/geotypes.py @@ -22,6 +22,7 @@ class BaseGeoTypeDownloader(object): Expects a TableConfig instance and year as input. """ YEAR_LIST = [ + 2021, 2020, 2019, 2018, @@ -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, @@ -402,6 +404,7 @@ class ZctasDownloader(BaseGeoTypeDownloader): Download raw data at the zipcode-tabulation-area level. """ YEAR_LIST = [ + 2021, 2020, 2019, 2018, diff --git a/census_data_downloader/core/tables.py b/census_data_downloader/core/tables.py index 9e5a8e7..46eb50e 100755 --- a/census_data_downloader/core/tables.py +++ b/census_data_downloader/core/tables.py @@ -19,6 +19,7 @@ class BaseTableConfig(object): PARENT_DIR = THIS_DIR.parent # All available years YEAR_LIST = [ + 2021, 2020, 2019, 2018,