-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply new naming convention to ferc714 and eia861 output assets #2882
Apply new naming convention to ferc714 and eia861 output assets #2882
Conversation
… eia861 service territories
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## rename-core-assets #2882 +/- ##
==================================================
Coverage 88.5% 88.5%
==================================================
Files 90 90
Lines 10139 10139
==================================================
Hits 8982 8982
Misses 1157 1157
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another migration issue here - oddly I had to run a new migration for to drop a foreign key constraint for fk_core_eia861__assn_balancing_authority_utility_id_eia_core_eia__entity_utilities
, is this different than what you were seeing?
Otherwise a few non-blocking suggestions. With the migration tweak the fast ETL runs on local as expected.
docs/release_notes.rst
Outdated
@@ -173,8 +173,8 @@ Data Coverage | |||
|
|||
* :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:`fipsified_respondents_ferc714` (annual respondents with county FIPS IDs) | |||
* :ref:`summarized_demand_ferc714` (annual demand for FERC-714 respondents) | |||
* :ref:`out_ferc714__fipsified_respondents` (annual respondents with county FIPS IDs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
non-blocking: respondents_with_fips
might be clearer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but I want to preserve the PudlTabl
API for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% following. It should be possible to change the underlying table asset name and keep the PudlTabl method name as it was without altering access (the same as for all the other assets). In which case we'd still want to update the release notes to refer to the actual table, as you have here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I'm sorry I thought you were referring to the PudlTabl
method. I just renamed the table to out_ferc714__respondents_with_fips
.
), | ||
*load_assets_from_modules( | ||
[pudl.analysis.state_demand], group_name="state_demand_ferc714" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was some chatter last round about whether this should be ferc714
or nod to the inclusion of EIA 861 data in these outputs as well, but I think leaving it this way is ok.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah that's right. I'm down to keep it 714 for now given the majority of the data is from ferc714.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fast ETL runs without issue. One remaining question about the fipsified_respondents
asset name but it's just my preference, and I'm fine to merge without addressing it if you disagree.
PR Overview
This PR applies new naming conventions to eia861 service territory, ferc714 state demand and respondent output assets.
PR Checklist
dev
).