pycancensus.get_recalled_database

pycancensus.get_recalled_database(refresh: bool = False) DataFrame | None[source]

Fetch the database of recalled data from CensusMapper.

Parameters:

refresh (bool, default False) – Force a re-download instead of using the session-cached copy.

Returns:

Rows describing recalled data with columns api_version, dataset, level, vector — or None if the database cannot be downloaded.

Return type:

pd.DataFrame or None