Package: gtfstools 1.3.0.9000

Daniel Herszenhut

gtfstools: General Transit Feed Specification (GTFS) Editing and Analysing Tools

Utility functions to read, manipulate, analyse and write transit feeds in the General Transit Feed Specification (GTFS) data format.

Authors:Daniel Herszenhut [aut, cre], Rafael H. M. Pereira [aut], Pedro R. Andrade [aut], Joao Bazzo [aut], Mark Padgham [ctb], Marcus Saraiva [ctb], Ipea - Institute for Applied Economic Research [cph, fnd]

gtfstools_1.3.0.9000.tar.gz
gtfstools_1.3.0.9000.zip(r-4.5)gtfstools_1.3.0.9000.zip(r-4.4)gtfstools_1.3.0.9000.zip(r-4.3)
gtfstools_1.3.0.9000.tgz(r-4.4-x86_64)gtfstools_1.3.0.9000.tgz(r-4.4-arm64)gtfstools_1.3.0.9000.tgz(r-4.3-x86_64)gtfstools_1.3.0.9000.tgz(r-4.3-arm64)
gtfstools_1.3.0.9000.tar.gz(r-4.5-noble)gtfstools_1.3.0.9000.tar.gz(r-4.4-noble)
gtfstools_1.3.0.9000.tgz(r-4.4-emscripten)gtfstools_1.3.0.9000.tgz(r-4.3-emscripten)
gtfstools.pdf |gtfstools.html
gtfstools/json (API)
NEWS

# Install 'gtfstools' in R:
install.packages('gtfstools', repos = c('https://ipeagit.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ipeagit/gtfstools/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

gtfspublic-transportpublictransport

9.09 score 40 stars 2 packages 138 scripts 839 downloads 32 exports 28 dependencies

Last updated 2 months agofrom:04813dcb20. Checks:OK: 3 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-win-x86_64OKNov 06 2024
R-4.5-linux-x86_64OKNov 06 2024
R-4.4-win-x86_64NOTENov 06 2024
R-4.4-mac-x86_64NOTENov 06 2024
R-4.4-mac-aarch64NOTENov 06 2024
R-4.3-win-x86_64NOTENov 06 2024
R-4.3-mac-x86_64NOTENov 06 2024
R-4.3-mac-aarch64NOTENov 06 2024

Exports:as_dt_gtfsconvert_sf_to_shapesconvert_shapes_to_sfconvert_stops_to_sfconvert_time_to_secondsdownload_validatorfilter_by_agency_idfilter_by_route_idfilter_by_route_typefilter_by_service_idfilter_by_sffilter_by_shape_idfilter_by_spatial_extentfilter_by_stop_idfilter_by_time_of_dayfilter_by_trip_idfilter_by_weekdayfrequencies_to_stop_timesget_children_stopsget_parent_stationget_stop_times_patternsget_trip_durationget_trip_geometryget_trip_lengthget_trip_segment_durationget_trip_speedmerge_gtfsread_gtfsremove_duplicatesset_trip_speedvalidate_gtfswrite_gtfs

Dependencies:backportscheckmateclassclassIntclicurldata.tableDBIe1071fsgeometriesgtfsiojsonliteKernSmoothmagrittrMASSparallellyprocessxproxypsR6Rcpps2sfsfheadersunitswkzip

Filtering GTFS feeds

Rendered fromfiltering.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2022-06-24
Started: 2021-11-12

Introduction to gtfstools

Rendered fromgtfstools.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-10-07
Started: 2021-02-13

Validating GTFS feeds

Rendered fromvalidating.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-10-07
Started: 2022-06-24

Readme and manuals

Help Manual

Help pageTopics
Coerce lists and GTFS objects from other packages into gtfstools-compatible GTFS objectsas_dt_gtfs as_dt_gtfs.gtfs as_dt_gtfs.list as_dt_gtfs.tidygtfs
Convert a simple feature object into a 'shapes' tableconvert_sf_to_shapes
Convert 'shapes' table to simple feature objectconvert_shapes_to_sf
Convert 'stops' table to simple feature objectconvert_stops_to_sf
Convert time fields to seconds after midnightconvert_time_to_seconds
Download MobilityData's GTFS validatordownload_validator
Filter GTFS object by 'agency_id'filter_by_agency_id
Filter GTFS object by 'route_id'filter_by_route_id
Filter GTFS object by 'route_type' (transport mode)filter_by_route_type
Filter GTFS object by 'service_id'filter_by_service_id
Filter a GTFS object using a simple features object (deprecated)filter_by_sf
Filter GTFS object by 'shape_id'filter_by_shape_id
Filter a GTFS object using a spatial extentfilter_by_spatial_extent
Filter GTFS object by 'stop_id'filter_by_stop_id
Filter GTFS object by time of dayfilter_by_time_of_day
Filter GTFS object by 'trip_id'filter_by_trip_id
Filter GTFS object by weekdayfilter_by_weekday
Convert frequencies to stop timesfrequencies_to_stop_times
Get children stops recursivelyget_children_stops
Get parent stations recursivelyget_parent_station
Get stop times patternsget_stop_times_patterns
Get trip durationget_trip_duration
Get trip geometryget_trip_geometry
Get trip lengthget_trip_length
Get trip segments' durationget_trip_segment_duration
Get trip speedget_trip_speed
Merge GTFS filesmerge_gtfs
Read GTFS filesread_gtfs
Remove duplicated entriesremove_duplicates
Set trip average speedset_trip_speed
Validate GTFS feedvalidate_gtfs
Write GTFS fileswrite_gtfs