Learn R Programming

gtfs2gps (version 2.1-2)

Converting Transport Data from GTFS Format to GPS-Like Records

Description

Convert general transit feed specification (GTFS) data to global positioning system (GPS) records in 'data.table' format. It also has some functions to subset GTFS data in time and space and to convert both representations to simple feature format.

Copy Link

Version

Install

install.packages('gtfs2gps')

Monthly Downloads

412

Version

2.1-2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Pedro Andrade

Last Published

October 8th, 2024

Functions in gtfs2gps (2.1-2)

gps_as_sflinestring

Converts a GPS-like data.table to a LineString Simple Feature (sf) object
gtfs_stops_as_sf

Convert GTFS stops to simple feature object
filter_valid_stop_times

Filter GTFS data using valid stop times
adjust_arrival_departure

Adjust the arrival and departure times of a GTFS data
filter_single_trip

Filter GTFS trips in order to have one trip per shape_id
gtfs_shapes_as_sf

Convert GTFS shapes to simple feature object
gtfs2gps

Convert GTFS to GPS-like data given a spatial resolution
adjust_speed

Adjust the speeds of a gps-like table created with gtfs2gps
append_height

Add a column with height to GPS data
gps_as_sfpoints

Convert GPS-like data.table to a Simple Feature points object
write_gtfs

Write GTFS data into a zip file
simplify_shapes

Simplify shapes of a GTFS file
test_gtfs_freq

Test whether a GTFS feed is frequency based
remove_invalid

Remove invalid objects from GTFS data
read_gtfs

Read GTFS data into a list of data.tables