Groups stops by parent station: the node of a stop is its topmost parent. Parents that are other stops are followed up to a stop without parent, by pointer doubling, and the parent of that stop, if any, is the node.
get_stop_node_keys(stop_id, parent_station, ignored_parents)A character vector with the node of each stop.
A character vector of stop_ids, without duplicates.
A character vector with the parent of each stop, or
NULL.
A character vector of stop_ids that are not
considered parents.