Stations.collect_catalogue¶
- Stations.collect_catalogue(confirmation_required=True, verbose=False, raise_error=False)[source]¶
Collects the catalogue of railway station data from the source web page.
- Parameters:
confirmation_required (bool) – Whether user confirmation is required; if
confirmation_required=True
(default), prompts the user for confirmation before proceeding with data collection.verbose (bool | int) – Whether to print relevant information to the console; defaults to
False
.raise_error (bool) – Whether to raise the provided exception; if
raise_error=False
(default), the error will be suppressed.
- Returns:
A dictionary containing the catalogue of railway station data, or
None
if no data catalogue is collected.- Return type:
dict | None