API Reference

This section contains the complete API reference for pytidycensus.

Main Functions

get_acs(geography[, variables, table, ...])

Obtain data from the American Community Survey (ACS).

get_decennial(geography[, variables, table, ...])

Obtain data from the US Decennial Census.

get_estimates(geography[, product, ...])

Obtain data from the US Census Bureau Population Estimates Program.

get_geography(geography[, year, state, ...])

Download and load geographic boundary data from TIGER/Line shapefiles.

load_variables(year, dataset[, survey, ...])

Load Census variables for a given dataset and year.

API Client

CensusAPI([api_key, cache_dir])

Core client for interacting with US Census Bureau APIs.

Submodules

pytidycensus.api

Core Census API client for making requests to the US Census Bureau APIs.

pytidycensus.acs

American Community Survey (ACS) data retrieval functions.

pytidycensus.decennial

Decennial Census data retrieval functions.

pytidycensus.estimates

Population estimates data retrieval functions.

pytidycensus.geography

Geographic boundary data retrieval and processing using TIGER shapefiles.

pytidycensus.variables

Census variable loading and caching functionality.

pytidycensus.utils

Utility functions for data processing and validation.

Come study with us at The George Washington University

GWU Geography & Environment