geosnap.io.get_ejscreen¶
- geosnap.io.get_ejscreen(datastore, state_fips=None, county_fips=None, msa_fips=None, fips=None, years='all')[source]¶
Extract a subset of data from the EPA EJSCREEN as a long-form geodataframe.
- Parameters:
- datastore
geosnap.DataStore
an instantiated DataStore object
- state_fips
list
orstr
string or list of strings of two-digit fips codes defining states to include in the study area.
- county_fips
list
orstr
string or list of strings of five-digit fips codes defining counties to include in the study area.
- msa_fips
list
orstr
string or list of strings of fips codes defining MSAs to include in the study area.
- fips
list
orstr
string or list of strings of fips codes (any length) defining census units to include in the study area.
- years
str
, optional list of years to include in the extract. Following Census convention, years are named by the conclusion of the 5-year period. For example the 2011-2015 sample is represented as 2015. Defaults to “all” which includes every dataset available (curently 2012-2019)
- datastore
- Returns:
geopandas.GeoDataFrame
long-form geodataframe with ‘year’ column representing each time period