pudl.extract.eia860
Retrieve data from EIA Form 860 spreadsheets for analysis.
This modules pulls data from EIA’s published Excel spreadsheets.
This code is for use analyzing EIA Form 860 data.
Module Contents
Classes
Extractor for the excel dataset EIA860. |
Attributes
- class pudl.extract.eia860.Extractor(*args, **kwargs)[source]
Bases:
pudl.extract.excel.GenericExtractor
Extractor for the excel dataset EIA860.
- process_raw(self, df, page, **partition)[source]
Apply necessary pre-processing to the dataframe.
Rename columns based on our compiled spreadsheet metadata
Add report_year if it is missing
Add a flag indicating if record came from EIA 860, or EIA 860M
Fix any generator_id values with leading zeroes.