Skip to content

pycensus.census.countries.usa.housing

U.S. housing prices and rents by census tract: ACS 2020-24 / 2012-16, Census 2000 (SF3, crosswalked), FHFA HPI, HUD FMR / SAFMR.

load_tract_housing(state_fips, state_abbr, data_dir=None, fhfa_zip=True, hud=True)

One state's 2020 tracts (GEOID) with every housing column listed in the module docstring (NaN where a source has no value).

Parameters:

Name Type Description Default
state_fips str

2-digit state FIPS.

required
state_abbr str

State abbreviation.

required
data_dir Optional[str]

Folder of the raw downloads; None = the pycensus cache.

None
fhfa_zip bool

Add the FHFA ZIP-level house price index.

True
hud bool

Add the HUD fair market rents.

True