aequilibrae.transit.transit_elements.fare#

Classes

Fare(agency_id)

Transit Fare

class aequilibrae.transit.transit_elements.fare.Fare(agency_id: int)[source]#

Transit Fare

  • fare_id (int): ID of the fare as in the network model

  • fare (str): ID of the fare as in GTFS

  • agency (str): Corresponding agency as inputed during import

  • agency_id (int): ID of the corresponding agency as in the network model

  • price (int): As in GTFS

  • currency (str): As in GTFS

  • payment_method (int): As in GTFS

  • transfer (int): As in GTFS

  • transfer_duration (int): As in GTFS

populate(record: tuple, headers: list) None[source]#

Adds fare information.

save_to_database(conn: Connection) None[source]#

Saves Fare attributes to the database