We want to enter a node id and get a list of its aliases
# Can't get aliases from a node. Can only get a node from an alias!
# Maybe there is a way using the api directly. Don't want to load entire alias table.
# ENTSO-E IDs are returned in the records dataframe:
mapping = records.drop_duplicates(subset='node_id').set_index('id').properties.apply(lambda x: [id['entsoe_unit_id'] for id in x['entsoe_units']]).explode()
mapping
Feature Description
node_aliases = node.alias
would return {"GEM_unit_id":"G1231232", "entsoe_unit_id":23123}
and
maybe even
Feature Type
[ ] Adding new functionality to feo-client
[ ] Changing existing functionality in feo-client
[ ] Removing existing functionality in feo-client
Problem Description
We want to enter a node id and get a list of its aliases
Feature Description
node_aliases = node.alias
would return {"GEM_unit_id":"G1231232", "entsoe_unit_id":23123} and maybe even
node.alias.entsoe_unit_id would return 23123