Description Usage Arguments Value Examples
Returns a list of trip update information given a FeedMessage input
1 | gtfs_tripUpdates(FeedMessage)
|
FeedMessage |
returned from gtfs_realtime |
list of data.table
trip update tables
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
## South-East Queensland
url <- "https://gtfsrt.api.translink.com.au/Feed/SEQ"
response <- httr::GET(url,
httr::accept_json(),
httr::add_headers('Authorization' = ''))
lst <- gtfs_tripUpdates(gtfs_realtime(response, content = "FeedMessage"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.