Congressional Districts seems to not work
When running the command "pygris.congressional_districts(state='LA', cache=True)", the module fails out with the following error:
Using the default year of 2024 Cached file may be corrupted. Downloading again... HTTP download failed, trying FTP as fallback... Downloading tl_2024_us_cd119.zip from Census FTP...
DataSourceError Traceback (most recent call last)
/tmp/ipython-input-4222271210.py in <cell line: 0>() ----> 1 pygris.congressional_districts(state='LA', cache=True)
6 frames
/usr/local/lib/python3.12/dist-packages/pyogrio/raw.py in read(path_or_buffer, layer, encoding, columns, read_geometry, force_2d, skip_features, max_features, where, bbox, mask, fids, sql, sql_dialect, return_fids, datetime_as_string, **kwargs) 196 dataset_kwargs = _preprocess_options_key_value(kwargs) if kwargs else {} 197 --> 198 return ogr_read( 199 get_vsi_path_or_buffer(path_or_buffer), 200 layer=layer,
pyogrio/_io.pyx in pyogrio._io.ogr_read()
pyogrio/_io.pyx in pyogrio._io.ogr_open()
DataSourceError: '/vsizip//root/.cache/pygris/tl_2024_us_cd119.zip' does not exist in the file system, and is not recognized as a supported dataset name.
It appears that the file at url = f"https://www2.census.gov/geo/tiger/TIGER2024/CD/tl_2024_us_cd119.zip" does not exist anymore. There is a set of files broken down at the state level. I am unsure if this is a result of the government shutdown or a change in the census's behavior. I would be happy to suggest a solution if welcomed.
Nick