Skip to content

Commit

Permalink
Rename some straggler assets (#3294)
Browse files Browse the repository at this point in the history
* Apply naming convention to some intermediate ferc assets

* Apply naming convention to the remaining assets

* Add straggler asset rename migration

* Update root_table names in ferc1 output

* Add censusdp1tract back to asset source, make 714 asset names consistent, fix ferc xbrl name order

* Recreate migrations and remove entity from census assets and make them plural

---------

Co-authored-by: Zane Selvans <[email protected]>
  • Loading branch information
bendnorman and zaneselvans authored Jan 31, 2024
1 parent 34507f8 commit ab36601
Show file tree
Hide file tree
Showing 36 changed files with 286 additions and 313 deletions.
6 changes: 3 additions & 3 deletions devtools/debug-ferc1-etl.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@
"source": [
"from dagster import build_op_context\n",
"\n",
"from pudl.extract.ferc1 import raw_xbrl_metadata_json\n",
"from pudl.transform.ferc1 import clean_xbrl_metadata_json\n",
"from pudl.extract.ferc1 import raw_ferc1_xbrl__metadata_json\n",
"from pudl.transform.ferc1 import _core_ferc1_xbrl__metadata_json\n",
"\n",
"context = build_op_context()\n",
"xbrl_metadata_json_dict = clean_xbrl_metadata_json(raw_xbrl_metadata_json(context))"
"xbrl_metadata_json_dict = _core_ferc1_xbrl__metadata_json(raw_ferc1_xbrl__metadata_json(context))"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/naming_conventions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Naming convention: ``core_{source}__{asset_type}_{asset_name}``
typically contain measurements of processes like net generation or co2 emissions.
Examples:

* ``core_ferc714__hourly_demand_pa``,
* ``out_ferc714__hourly_planning_area_demand``,
* ``core_ferc1__yearly_plant_in_service``.

Output layer
Expand Down
5 changes: 3 additions & 2 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ Data Coverage
The newly accessible tables include:

* :ref:`core_ferc714__respondent_id` (linking FERC-714 respondents to EIA utilities)
* :ref:`core_ferc714__hourly_demand_pa` (hourly electricity demand by planning area)
* :ref:`out_ferc714__hourly_planning_area_demand` (hourly electricity demand by
planning area)
* :ref:`out_ferc714__respondents_with_fips` (annual respondents with county FIPS IDs)
* :ref:`out_ferc714__summarized_demand` (annual demand for FERC-714 respondents)

Expand Down Expand Up @@ -369,7 +370,7 @@ Analysis
(:ref:`out_eia861__compiled_geometry_balancing_authorities` and
:ref:`out_eia861__compiled_geometry_utilities`), and the estimated total hourly
electricity demand for each US state in
:ref:`out_ferc714__hourly_predicted_state_demand`. See :issue:`1973`
:ref:`out_ferc714__hourly_estimated_state_demand`. See :issue:`1973`
and :pr:`2550`.

Deprecations
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit ab36601

Please sign in to comment.