utils¶
Provides a number of helper functions.
Validate inputs¶
Checks and returns whether the Railway Codes website is reacheable. |
|
|
Checks if a string represents and can be converted to a finite float value. |
|
Validates if a value is a single ASCII letter. |
|
Retrieves the valid page name corresponding to a given page number. |
|
Creates a new parameter that indicates whether to print relevant information to the console. |
|
Creates a new parameter that indicates whether to print relevant information to the console. |
Print messages¶
|
Returns a message for comfirming whether to proceed to collect a certain cluster of data. |
|
Prints a message indicating the status of data collection. |
|
Checks the Internet connection and prints a warning if the source is unreachable. |
|
Prints an error message when an instance fails to establish an Internet connection. |
|
Prints a warning message when the data collection process fails and no fresh data was collected. |
Save and retrieve pre-packed data¶
|
Fetches a dictionary or dataframe to rectify location names. |