Learn R Programming

gtfs2gps (version 1.4-1)

filter_week_days: Filter GTFS trips operating on week days

Description

Filter a GTFS data read using gtfs2gps::read_gtfs(). It removes the trips operating only saturday or sunday.

Usage

filter_week_days(gtfs_data)

Arguments

gtfs_data

A list of data.tables read using gtfs2gps::reag_gtfs().

Value

A filtered GTFS data.

Examples

Run this code
# NOT RUN {
poa <- read_gtfs(system.file("extdata/poa.zip", package = "gtfs2gps"))

subset <- filter_week_days(poa)
# }

Run the code above in your browser using DataLab