pygris
pygris copied to clipboard
Use US Census shapefiles in Python (port of the R tigris package)
Tract geometries for 2008 and 2009 have a different URL pattern. This pull request will add support for those years. I've never contributed to open source before so please let...
This is a smaller copy of [this open issue](https://github.com/walkerke/tigris/issues/175) on the tigris repository. I added the proper URL parsing for 2008 and 2009 in a cloned version of this repository...
Apparently, Tiger data has different field names for COUNTYFP on census tracts for the 2010 Census, and that causes the software to fall over when one specifies the county when...
## Problem Because the US Census Batch Geocode API returns a csv with no headers, pandas infers the number of columns from the first row. Unfortunately only three columns are...
An error is thrown when supplying a state fips code as the state argument for `pygris.counties()` and other functions that call `validate_state()`. ``` >>> pygris.counties(33, year = 2020) File "PATH\Lib\site-packages\pygris\enumeration_units.py",...
counties(), line 93, fails for 2010 ``` ctys = _load_tiger(url, cache = cache, subset_by = subset_by) if state is not None: if type(state) is not list: state = [state] valid_state...
As seen in this line for pulling zcta data: https://github.com/walkerke/pygris/blob/main/pygris/enumeration_units.py#L684 creates a bit of confusion (if not possible error) when trying to pull from the year `2020`. If the year...
Hi, @walkerke! Are you considering providing a release via [`conda-forge`](https://conda-forge.org/#page-top)? This would increase your (awesome) package's visibility. * [ADD A RECIPE](https://conda-forge.org/#add_recipe) cc @knaaptime, cc @jvtcl
once the files are read into memory, what do you think about caching them as parquet files instead of shapefiles? would make IO much faster and the footprint a lot...
Some deprecated dependencies (Fiona, RTree) are causing trouble when installing in newer versions of Python