Skip to content

Commit

Permalink
Merge pull request #119 from datamade/hcg/release
Browse files Browse the repository at this point in the history
Prep for new version
  • Loading branch information
hancush authored Apr 25, 2022
2 parents 6f62c68 + 0277f9f commit e89fdd2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Datasets

For each dataset, the first year listed is the default.

* acs5: `ACS 5 Year Estimates <https://www.census.gov/data/developers/data-sets/acs-5year.html>`_ (2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009)
* acs5: `ACS 5 Year Estimates <https://www.census.gov/data/developers/data-sets/acs-5year.html>`_ (2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009)
* acs3: `ACS 3 Year Estimates <https://www.census.gov/data/developers/data-sets/acs-3year.html>`_ (2013, 2012)
* acs1: `ACS 1 Year Estimates <https://www.census.gov/data/developers/data-sets/acs-1year.html>`_ (2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011)
* acs5dp: `ACS 5 Year Estimates, Data Profiles <https://www.census.gov/data/developers/data-sets/acs-5year.html>`_ (2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009)
Expand Down
13 changes: 11 additions & 2 deletions census/tests/test_census.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,17 @@ def test_new_style_endpoints(self):
res_2014_2014 = client.acs1.state('B01001_004E', Census.ALL)
res_2014_2016 = client.acs1.state('B01001_004E', Census.ALL, year=2016)

assert res_2016_2016 == res_2014_2016
assert res_2014_2014 == res_2016_2014
assert sorted(
res_2016_2016, key=lambda x: x['state']
) == sorted(
res_2014_2016, key=lambda x: x['state']
)

assert sorted(
res_2014_2014, key=lambda x: x['state']
) == sorted(
res_2016_2014, key=lambda x: x['state']
)

def test_older_sf1(self):
client = Census(KEY)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = census
version = 0.8.18
version = 0.8.19
author = Jeremy Carbaugh
author_email = [email protected]
maintainer = Forest Gregg
Expand Down

0 comments on commit e89fdd2

Please sign in to comment.