Skip to content
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

PowerPlant.isPartOf should be object prop (PublicUtility) not string #878

Open
VladimirAlexiev opened this issue Aug 7, 2023 · 1 comment

Comments

@VladimirAlexiev
Copy link

VladimirAlexiev commented Aug 7, 2023

This PowerPlant https://www.datacommons.org/browser/eia/pp/2322 has link isPartOf being string "eia/u/13407",
rather than a thing: the corresponding PublicUtility https://www.datacommons.org/browser/eia/u/13407 .
Consequently, the section "In Arcs" of the utility doesn't show its power plants.

Maybe the bug is at https://github.com/datacommonsorg/data/blob/master/scripts/us_eia/eia_860/2_plant.tmcf#L12 .
It calls a function isPartOf: C:EIA_860_Schedule_2->UtilityDcid
but it seems to me the output is formatted like a string (just like the prev line eiaPlantCode: C:EIA_860_Schedule_2->PlantCode) ?

@VladimirAlexiev
Copy link
Author

Note: https://datacommons.rff.org uses worse IDs (GUIDs instead of EIA ids), but doesn't have this problem:
https://datacommons.rff.org/browser/dc/05gsw4m93mz6 (utility) links to
https://datacommons.rff.org/browser/dc/3lwrcytjq2k09 (power plant).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant