Add FERC1 Depreciation Changes table (Schedule 332)#5112
Add FERC1 Depreciation Changes table (Schedule 332)#5112
Conversation
| DEPRECIATION_CHANGES = "core_ferc1__yearly_depreciation_changes_sched336" | ||
| BALANCE_SHEET_ASSETS = "core_ferc1__yearly_balance_sheet_assets_sched110" | ||
| RETAINED_EARNINGS = "core_ferc1__yearly_retained_earnings_sched118" | ||
| INCOME_STATEMENTS = "core_ferc1__yearly_income_statements_sched114" | ||
| DEPRECIATION_CHANGES = "core_ferc1__yearly_depreciation_changes_sched219" | ||
| ACCUMULATED_DEPRECIATION = "core_ferc1__yearly_depreciation_changes_sched219" |
There was a problem hiding this comment.
i lightly wanna rename the 219 to accumulated depreciation bc well thats what ferc calls it. but bc we have the sched### at the end we could have two changes without renaming tables willy nilly ( which ya know no one really likes )
There was a problem hiding this comment.
oh noooooo
so we called sched 219 "yearly depreciation changes"
but now we want to add sched 336 which is actually called "depreciation changes" by ferc?
so the choices are
- have two tables with "depreciation changes", one for sched 219 and one for sched 336
- rename the old table so the names are less confusing for new users, but existing users have to change their code
- leave 219 alone and call 336 something else
i think you're right that the third one is definitely bad
but i would actually go with option 2 here? we can mea culpa the old bad naming decision in the release notes, and then we'd hew more closely to ferc terminology, which is something that comes up occasionally in the ecosystem survey as something we should fix anyway
There was a problem hiding this comment.
totally agree.. In an ideal world we would have a deprecation warning for core_ferc1__yearly_depreciation_changes_sched219 and change this to core_ferc1__yearly_accumulated_depreciation_sched219 (bc the table is called: ACCUMULATED PROVISION FOR DEPRECIATION OF ELECTRIC UTILITY PLANT (Account 108))
Overview
Closes #5103 .
What problem does this address?
What did you change?
Documentation
Make sure to update relevant aspects of the documentation:
docs/data_sources/templates).src/metadata).Testing
How did you make sure this worked? How can a reviewer verify this?
To-do list
dbttests.pixi run pre-commit-runto run linters and static code analysis checks.pixi run pytest-cilocally to ensure that the merge queue will accept your PR.build-deploy-pudlGitHub Action manually and ensure that it succeeds.