pycensus.census.countries.usa.lodes_rac¶
LODES RAC (Residence Area Characteristics): job counts by residence block.
Importing this module registers the gdf.lodes_rac GeoDataFrame accessor
(see :mod:pycensus.accessors). Use :func:load_rac to fetch data.
load_rac(aoi=None, states=None, level='blockgroup', year='latest', cache_dir=None, cache=True)
¶
Load LODES Residence Area Characteristics (jobs held by residents) data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
aoi
|
Optional[GeoDataFrame]
|
Area of interest. Used to auto-detect |
None
|
states
|
Optional[Union[str, List[str]]]
|
State name(s)/abbreviation(s)/FIPS code(s) to load. Derived
from |
None
|
level
|
str
|
Standard geometry level to pre-aggregate LODES blocks to. |
'blockgroup'
|
year
|
Union[int, str]
|
Vintage year, or |
'latest'
|
cache_dir
|
Optional[str]
|
Root of pyCensus' parquet cache. Defaults to
:func: |
None
|
cache
|
bool
|
If |
True
|
Returns:
| Type | Description |
|---|---|
GeoDataFrame
|
GeoDataFrame with |
GeoDataFrame
|
|
GeoDataFrame
|
data: |