Closed cmgosnell closed 2 years ago
Issue #1705 creates a map between respondent_id
's and the new entity_id
or (Company Identifier). However, not every utility will have both an entity_id
and respondent_id
, so we will need to develop a strategy to work around that.
This function has been implemented as part of #1722
pudl.transform.ferc1._clean_cols
makes a new column calledrecord_id
in this format:{table_name}_{report_year}_{report_prd}_{respondent_id}_{spplmnt_num}_{row_number}
The new xbrl data does not have:
respondent_id
,spplmnt_num
, orrow_number
. We'll have to do something aboutrespondent_id
(see #1705), but supplement and row number are outta there.This id column is helpful in that it creates an unchanging and unique id for each record.