pycensus.census.countries.usa.acs_commute_time¶
ACS 5-year commute time by means of transportation for census tracts (table B08134: workers by mode x travel-time band).
The aggregate minutes by mode (B08136) are published only down to counties, so the tract mean is estimated from the bands (band midpoints; 60+ minutes counted as 75). Car = "Car, truck, or van" (B08134_011-020), public transport = B08134_061-070.
from pycensus.census.countries.usa.acs_commute_time import tract_table
tract_table("44") # DataFrame: GEOID (11 digits), car_commuters, car_time_min, transit_commuters, transit_time_min
Downloaded once per state into <cache>/usa/acs_commute_time/<state fips>_<year>.parquet (Census API key: pycensus.api_keys).
tract_table(state_fips, year=YEAR, cache_dir=None)
¶
Car and transit commute-time tables (ACS 5-year, by tract) of one state from the Census API, cached.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state_fips
|
str
|
2-digit state FIPS. |
required |
year
|
int
|
ACS end year. |
YEAR
|
cache_dir
|
Optional[str]
|
Cache folder; |
None
|
Returns:
| Type | Description |
|---|---|
DataFrame
|
One row per tract. |