LocationIdentifiers.amendment_to_loc_names

static LocationIdentifiers.amendment_to_loc_names()

Create a replacement dictionary for location name amendments.

Returns

dictionary of regular-expression amendments to location names

Return type

dict

Example:

>>> from pyrcs.line_data import LocationIdentifiers

>>> lid = LocationIdentifiers()

>>> loc_name_amendment_dict = lid.amendment_to_loc_names()

>>> list(loc_name_amendment_dict.keys())
['Location']