pudl.extract.censuspep#

Retrieve data from Census PEP spreadsheets.

Attributes#

Classes#

Extractor

Extractor for the excel dataset Census PEP FIPS Codes.

Functions#

raw_censuspep__geocodes(raw_censuspep__all_dfs)

Extract raw Census PEP FIPS codes data into dataframes.

Module Contents#

pudl.extract.censuspep.logger[source]#
class pudl.extract.censuspep.Extractor(*args, **kwargs)[source]#

Bases: pudl.extract.excel.ExcelExtractor

Extractor for the excel dataset Census PEP FIPS Codes.

METADATA[source]#

Instance of metadata object to use with this extractor.

cols_added = [][source]#
static get_dtypes(page, **partition)[source]#

Returns nullable string dtypes for all columns.

FIPS codes often have leading zeros. This preserves them.

process_raw(df, page, **partition)[source]#

Apply necessary pre-processing to the dataframe.

pudl.extract.censuspep.raw_censuspep__all_dfs[source]#
pudl.extract.censuspep.raw_censuspep__geocodes(raw_censuspep__all_dfs)[source]#

Extract raw Census PEP FIPS codes data into dataframes.

Returns:

An extracted Census PEP FIPS codes dataframe.