other_assets¶
Classes for collecting other assets data.
depots |
Collecting depots codes. |
features |
Collecting codes of infrastructure features. |
signal_boxes |
Collecting signal box prefix codes. |
stations |
Collecting railway station data. |
tunnels |
Collecting codes of railway tunnel lengths. |
viaducts |
Collecting codes of railway viaducts. |
-
class
pyrcs._other_assets.
OtherAssets
(update=False)[source]¶ Parameters: update (bool) – whether to check on update and proceed to update the package data, defaults to False
Example:
from pyrcs import OtherAssets oa = OtherAssets() # To get railway station data stations = oa.Stations # data of railway stations whose names start with 'A' railway_station_data_a = stations.collect_railway_station_data_by_initial('A')