pudl.metadata.dfs#
Static database tables.
Attributes#
FERC electric plant account IDs with associated row numbers and descriptions. |
|
Association table describing the many-to-many relationships between plant sectors and |
|
Association table describing the many-to-many relationships between fuel types and |
|
Static attributes of sub-national political jurisdictions. |
|
State and country codes and their names as are reported to SEC's EDGAR database. |
|
Alpha 2 country codes and the country's name. |
|
A table of Standard Industrial Classification codes and descriptions used by SEC. |
Classes#
Defines all reasons a value might be flagged for imputation. |
Module Contents#
- class pudl.metadata.dfs.ImputationReasonCodes[source]#
Bases:
enum.EnumDefines all reasons a value might be flagged for imputation.
- IDENTICAL_RUN = 'Indicates value is part of an identical run of values, excluding first value in run.'[source]#
- pudl.metadata.dfs.FERC_ACCOUNTS: pandas.DataFrame[source]#
FERC electric plant account IDs with associated row numbers and descriptions. From FERC Form 1 pages 204-207, Electric Plant in Service. Descriptions from: https://www.law.cornell.edu/cfr/text/18/part-101
- pudl.metadata.dfs.BALANCING_AUTHORITY_SUBREGIONS_EIA: pandas.DataFrame[source]#
- pudl.metadata.dfs.EIA_SECTOR_AGGREGATE_ASSN[source]#
Association table describing the many-to-many relationships between plant sectors and various aggregates in core_eia__yearly_fuel_receipts_costs_aggs.
- pudl.metadata.dfs.EIA_FUEL_AGGREGATE_ASSN[source]#
Association table describing the many-to-many relationships between fuel types and various aggregates in core_eia__yearly_fuel_receipts_costs_aggs.
Missing from these aggregates are all the “other” categories of gases: OG, BFG, SGP, SC, PG. But those gases combine for about 0.2% of total MMBTU of reported fuel receipts.
- pudl.metadata.dfs.POLITICAL_SUBDIVISIONS: pandas.DataFrame[source]#
Static attributes of sub-national political jurisdictions.
Note AK and PR have incomplete EPA CEMS data, and so are excluded from is_epacems_state: See catalyst-cooperative/pudl#1264
- pudl.metadata.dfs.SEC_EDGAR_STATE_AND_COUNTRY_CODES[source]#
State and country codes and their names as are reported to SEC’s EDGAR database.
These codes are used for XML filings of Ownership Reports (Forms 3, 4, 5), Form D and Form ID in EDGAR. Table found at https://www.sec.gov/submit-filings/filer-support-resources/edgar-state-country-codes . Used in PUDL to standardize the state codes in the SEC 10K filings.
- pudl.metadata.dfs.ALPHA_2_COUNTRY_CODES[source]#
Alpha 2 country codes and the country’s name.
Most SEC locations from Ex. 21 attachments match the two digit EDGAR codes, however some use alpha 2 country codes, i.e. us -> united states and ch -> switzerland. Map these codes as well for location standardization.
- pudl.metadata.dfs.STANDARD_INDUSTRIAL_CLASSIFICATION: pandas.DataFrame[source]#
A table of Standard Industrial Classification codes and descriptions used by SEC.
These codes have mostly been supplanted by the NAICS codes, which provide more detail and modernized industrial categories, but are still in use by SEC. Crosswalks exist that can convert between SIC and NAICS codes, but the correspondence isn’t perfect.