Learn R Programming

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

gtfs2gps (version 1.4-0)

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

1.4-0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Pedro Andrade

Last Published

March 29th, 2021

Functions in gtfs2gps (1.4-0)

remove_by_route_id

Remove GTFS data by route ids
write_gtfs

Write GTFS data into a zip file
remove_invalid

Remove invalid objects from GTFS data
gtfs2gps

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

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

Test whether a GTFS feed is frequency based
simplify_shapes

Simplify shapes of a GTFS file
gtfs_stops_as_sf

Convert GTFS stops to simple feature object
gtfs_shapes_as_sf

Convert GTFS shapes to simple feature object
merge_gtfs_feeds

Merge multiple GTFS feeds into a single one
read_gtfs

Read GTFS data into a list of data.tables
filter_week_days

Filter GTFS trips operating on week days
filter_by_day

Filter GTFS trips operating on given days
gps_as_sflinestring

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

Snap points to the closest points from another set
filter_by_route_type

Filter GTFS data by transport mode (route type)
filter_by_route_id

Filter GTFS data by route ids
filter_day_period

Filter GTFS data within a period of the day
filter_single_trip

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

Add a column with height to GPS data
filter_by_agency_id

Filter GTFS data by agency ids
filter_by_shape_id

Filter GTFS data by shape ids
filter_valid_stop_times

Filter GTFS data using valid stop times