1. Routes

Functions


source

fetch_routes

 fetch_routes (pattern:str='', sleep_duration:float=0.1)

Fetches BMTC routes matching the given pattern, or all routes if pattern is empty.


source

process_routes

 process_routes (routes)

Process and clean route data, returning a DataFrame with route_id and route_number.


source

task_fetch_routes

 task_fetch_routes (data_directory)

source

get_routes

 get_routes (data_directory:pathlib.Path)