Stations.get_station_data_catalogue¶
-
Stations.
get_station_data_catalogue
(update=False, verbose=False)[source]¶ Get catalogue of railway station data.
- Parameters
update (bool) – whether to check on update and proceed to update the package data, defaults to
False
verbose (bool or int) – whether to print relevant information in console as the function runs, defaults to
False
- Returns
catalogue of railway station data
- Return type
dict
Example:
>>> from pyrcs.other_assets import Stations >>> stn = Stations() >>> stn_data_catalogue = stn.get_station_data_catalogue() >>> type(stn_data_catalogue) <class 'dict'> >>> print(list(stn_data_catalogue.keys())) ['Railway station data', 'Sponsored signs', 'International', 'Trivia', 'Access rights', 'Barrier error codes']