aequilibrae.transit.transit_elements.service#

Classes

Service()

Transit service built with data from calendar.txt and calendar_dates.txt from GTFS

class aequilibrae.transit.transit_elements.service.Service[source]#

Transit service built with data from calendar.txt and calendar_dates.txt from GTFS

  • service_id (str):

  • monday (int): Flag if the route runs on mondays (1 for True, 0 for False)

  • tuesday (int): Flag if the route runs on tuesdays (1 for True, 0 for False)

  • wednesday (int): Flag if the route runs on wednesdays (1 for True, 0 for False)

  • thursday (int): Flag if the route runs on thursdays (1 for True, 0 for False)

  • friday (int): Flag if the route runs on fridays (1 for True, 0 for False)

  • saturday (int): Flag if the route runs on saturdays (1 for True, 0 for False)

  • sunday (int): Flag if the route runs on sundays (1 for True, 0 for False)

  • start_date (str): Start date for this service

  • end_date (str): End date for this service

  • dates (List[str]): List of all dates for which this service is active between its start and end dates