View source: R/trip_distance.R
trip_distance | R Documentation |
This function computes the geographical distance between the start and end stations for trips in a given dataset
trip_distance(data)
data |
trip data pulled from the Blue Bike System data |
a tbl_df object with an additional distance column
# Calculate distance for sample trip data sample_distance <- trip_distance(trip_history_sample)$distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.