The Public Utility Data Liberation Project provides analysis-ready energy system data to climate advocates, researchers, policymakers, and journalists.
The operational_status_code column... is a bit of a mess. Most of the mess comes from the eia860m data (see below). Let's clean it up! operational_status_code should probably end up being an enum in our metadata and we should be able to map some of these bad codes to good codes. I imagine we could use some regex magic to grab the 2021 codes that tend to look like "(CODE) Some long description".
We are using these codes to generate the operational_status column here. A desired end state of this issue would be to clean the operational_status_code column to such a degree that all of the end-state codes can be mapped to operational_status's.
The
operational_status_code
column... is a bit of a mess. Most of the mess comes from the eia860m data (see below). Let's clean it up!operational_status_code
should probably end up being an enum in our metadata and we should be able to map some of these bad codes to good codes. I imagine we could use some regex magic to grab the 2021 codes that tend to look like "(CODE) Some long description".We are using these codes to generate the
operational_status
column here. A desired end state of this issue would be to clean theoperational_status_code
column to such a degree that all of the end-state codes can be mapped tooperational_status
's.demonstration of problem
annnnd