View source: R/remove_duplicates.R
remove_duplicates | R Documentation |
Removes duplicated entries from GTFS objects tables.
remove_duplicates(gtfs)
gtfs |
A GTFS object, as created by |
A GTFS object containing only unique entries.
data_path <- system.file("extdata/spo_gtfs.zip", package = "gtfstools")
gtfs <- read_gtfs(data_path)
# this gtfs includes some duplicated entries
gtfs$agency
gtfs <- remove_duplicates(gtfs)
gtfs$agency
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.