pudl.extract.eia861

Retrieve data from EIA Form 861 spreadsheets for analysis.

This modules pulls data from EIA’s published Excel spreadsheets.

This code is for use analyzing EIA Form 861 data.

Attributes

Classes

Extractor

Extractor for the excel dataset EIA861.

Functions

extract_eia861(raw_eia861__all_dfs)

Extract raw EIA-861 data from Excel sheets into dataframes.

Module Contents

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

Bases: pudl.extract.excel.ExcelExtractor

Extractor for the excel dataset EIA861.

METADATA[source]

Instance of metadata object to use with this extractor.

cols_added = [][source]
process_raw(df, page, **partition)[source]

Rename columns with location.

static process_renamed(df, page, **partition)[source]

Adds report_year column if missing.

static get_dtypes(page, **partition)[source]

Returns dtypes for plant id columns.

pudl.extract.eia861.raw_eia861__all_dfs[source]
pudl.extract.eia861.extract_eia861(raw_eia861__all_dfs)[source]

Extract raw EIA-861 data from Excel sheets into dataframes.