Description Usage Arguments Value
Ferries have multiple entries in the live position feed. There is a note about this on the FAQ. This function filters out the most recent entry by pulling apart the trip_id column.
1 | cleanFerries(pos_DF)
|
pos_DF |
a data frame created by getPositions |
a data frame with one row per vehicle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.