Stations.get_station_data_catalogue¶
-
Stations.
get_station_data_catalogue
(update=False, verbose=False)¶ Get catalogue of railway station data.
- Parameters
update (bool) – whether to do an update check (for the package data), defaults to
False
verbose (bool or int) – whether to print relevant information in console, defaults to
False
- Returns
catalogue of railway station data
- Return type
dict
Example:
>>> from pyrcs.other_assets import Stations >>> stn = Stations() >>> # stn_data_cat = stn.get_station_data_catalogue(update=True, verbose=True) >>> stn_data_cat = stn.get_station_data_catalogue() >>> type(stn_data_cat) collections.OrderedDict >>> list(stn_data_cat.keys()) ['Mileages, operators and grid coordinates', 'Bilingual names', 'Sponsored signs', 'Not served by SFO', 'International', 'Trivia', 'Access rights', 'Barrier error codes', 'London Underground']