confirm_msg

pyrcs.utils.confirm_msg(data_name)[source]

Create a confirmation message (for data collection).

Parameters:

data_name (str) – name of data, e.g. “Railway Codes”

Returns:

a confirmation message

Return type:

str

Example:

>>> from pyrcs.utils import confirm_msg

>>> msg = confirm_msg(data_name="Railway Codes")
>>> print(msg)
To collect data of Railway Codes
?