for_bus_gtfs {GTFSwizard} | R Documentation |
GTFS Data for Fortaleza (Bus System), Brazil.
Description
A dataset containing GTFS (General Transit Feed Specification) data for Fortaleza's transit system by bus. The data includes information on routes, trips, stops, stop times, and other elements necessary for transit planning and analysis.
Format
An object of class wizardgtfs
, containing multiple data frames:
- agency
Data frame with 1 row and 7 columns, providing information about the transit agency, including agency name, URL, timezone, and contact details.
- calendar
Data frame with 3 rows and 10 columns, detailing service availability by day of the week, start and end dates for each service.
- fare_attributes
Data frame with 2 rows and 6 columns, showing fare information, including price, currency, payment method, and transfer rules.
- fare_rules
Data frame with 259 rows and 5 columns, linking fare IDs to routes, along with optional restrictions on origins, destinations, and zones.
- routes
Data frame with 259 rows and 9 columns, listing route details such as route ID, agency ID, route short and long names, route type, and colors.
- shapes
Data frame with 89,846 rows and 5 columns, representing the spatial paths of routes with latitude, longitude, point sequence, and cumulative distance traveled.
- stop_times
Data frame with 1,719,386 rows and 9 columns, including stop times for each trip, with arrival and departure times, stop sequence, and stop ID information.
- stops
Data frame with 4,793 rows and 12 columns, containing information about each stop, including stop ID, name, location (latitude and longitude), and accessibility.
- trips
Data frame with 52,304 rows and 9 columns, detailing trips associated with routes, including trip IDs, route IDs, direction, block, and shape IDs.
Details
The GTFS data format is widely used for representing public transportation schedules and associated geographic information. This dataset follows the GTFS standard and includes elements for advanced analysis in transit planning.
Source
Fortaleza transit agency (ETUFOR).
Examples
# Load the dataset
data(for_bus_gtfs)
# Access trips data
head(for_bus_gtfs$trips)
# Access stops data
head(for_bus_gtfs$stops)