Learn R Programming

⚠️There's a newer version (2.1-2) of this package.Take me there.

gtfs2gps (version 2.0-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

447

Version

2.0-2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Pedro Andrade

Last Published

March 10th, 2022

Functions in gtfs2gps (2.0-2)

filter_day_period

Filter GTFS data within a period of the day
filter_week_days

Filter GTFS trips operating on week days
filter_valid_stop_times

Filter GTFS data using valid stop times
read_gtfs

Read GTFS data into a list of data.tables
gtfs_stops_as_sf

Convert GTFS stops to simple feature object
merge_gtfs_feeds

Merge multiple GTFS feeds into a single one
remove_by_route_id

Remove GTFS data by route ids
filter_single_trip

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

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

Write GTFS data into a zip file
gps_as_sflinestring

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

Test whether a GTFS feed is frequency based
gtfs_shapes_as_sf

Convert GTFS shapes to simple feature object
gtfs2gps

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

Simplify shapes of a GTFS file
filter_by_agency_id

Filter GTFS data by agency ids
remove_invalid

Remove invalid objects from GTFS data
adjust_speed

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

Adjust the arrival and departure times of a GTFS data
filter_by_shape_id

Filter GTFS data by shape ids
filter_by_route_type

Filter GTFS data by transport mode (route type)
append_height

Add a column with height to GPS data
filter_by_route_id

Filter GTFS data by route ids
filter_by_day

Filter GTFS trips operating on given days
cpp_snap_points_nearest1

Snap points to the closest points from another set
cpp_snap_points_nearest2

Snap points to the closest points from another set