pudl.transform.eia930

Module to perform data cleaning functions on EIA930 data tables.

Module Contents

Functions

core_eia930__hourly_operations_assets(raw_eia930__balance)

Separate raw_eia930__balance into net generation and demand tables.

core_eia930__hourly_subregion_demand(raw_eia930__subregion)

Produce a normalized table of hourly electricity demand by BA subregion.

core_eia930__hourly_interchange(raw_eia930__interchange)

Produce a normalized table of hourly interchange by balancing authority.

Attributes

pudl.transform.eia930.logger[source]
pudl.transform.eia930.core_eia930__hourly_operations_assets(raw_eia930__balance: pandas.DataFrame)[source]

Separate raw_eia930__balance into net generation and demand tables.

Energy source starts out in the column names, but is stacked into a categorical column. For structural purposes “interchange” is also treated as an “energy source” and stacked into the same column. For the moment “total” (sum of all energy sources) is also included, because the reported and calculated totals across all energy sources have significant differences which should be further explored.

pudl.transform.eia930.core_eia930__hourly_subregion_demand(raw_eia930__subregion: pandas.DataFrame)[source]

Produce a normalized table of hourly electricity demand by BA subregion.

pudl.transform.eia930.core_eia930__hourly_interchange(raw_eia930__interchange: pandas.DataFrame)[source]

Produce a normalized table of hourly interchange by balancing authority.