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_cat = stn.get_station_data_catalogue(update=True, verbose=True)
>>> stn_data_cat = stn.get_station_data_catalogue()

>>> type(stn_data_cat)
dict
>>> list(stn_data_cat.keys())
['Railway station data',
 'Sponsored signs',
 'International',
 'Trivia',
 'Access rights',
 'Barrier error codes']