For Prescott, Arizona - fips = 39140 blocks are not available for any year in geosnap.
For Dayton, Ohio - fips = 19380 blocks are not available for any year.
For Fairbanks, Alaska - fips = 21820 blocks are not available for 2017, but are available for every other year.
For Anchorage, Alaska - fips = 11260 blocks are not available for 2017, but are available for every other year.
When you try to instantiate a community with the above mentioned fips and year combos, this is the error:
ValueError Traceback (most recent call last)
<ipython-input-27-35add9c4a2f7> in <module>
----> 1 dayt = Community.from_lodes(msa_fips='19380',years=[2010])
~/Projects/geosnap/geosnap/_community.py in from_lodes(cls, state_fips, county_fips, msa_fips, fips, boundary, years, dataset)
1833 ]
1834
-> 1835 gdf = datasets.blocks_2010(states=states, fips=(tuple(allfips)))
1836 gdf = gdf.drop(columns=["year"])
1837 gdf = _fips_filter(
~/Projects/geosnap/geosnap/_data.py in blocks_2010(self, states, convert, fips)
247 blks[state]["year"] = 2010
248 blocks = list(blks.values())
--> 249 blocks = pd.concat(blocks, sort=True)
250 if convert:
251 return _convert_gdf(blocks)
~/anaconda3/envs/geosnap/lib/python3.7/site-packages/pandas/core/reshape/concat.py in concat(objs, axis, join, ignore_index, keys, levels, names, verify_integrity, sort, copy)
282 verify_integrity=verify_integrity,
283 copy=copy,
--> 284 sort=sort,
285 )
286
~/anaconda3/envs/geosnap/lib/python3.7/site-packages/pandas/core/reshape/concat.py in __init__(self, objs, axis, join, keys, levels, names, ignore_index, verify_integrity, copy, sort)
329
330 if len(objs) == 0:
--> 331 raise ValueError("No objects to concatenate")
332
333 if keys is None:
ValueError: No objects to concatenate
For Prescott, Arizona - fips =
39140
blocks are not available for any year in geosnap. For Dayton, Ohio - fips =19380
blocks are not available for any year. For Fairbanks, Alaska - fips =21820
blocks are not available for 2017, but are available for every other year. For Anchorage, Alaska - fips =11260
blocks are not available for 2017, but are available for every other year.When you try to instantiate a community with the above mentioned fips and year combos, this is the error: