Description Usage Arguments Value See Also Examples
calculates mean tip-fare ratio for each borough for each day of the week, for each time of the day and for weekend/non-weekend properties
1 | get_boroughs_with_aggregate_trip_data(taxidata, boroughs)
|
taxidata |
The taxi trip data that were read from |
boroughs |
is the New York zones sf object, if not present will be downloaded from NYC website |
A SpatialPolygonsDataFrame
with the zones features with the mean_tip_fair_ratio
, mean_ratio_weekend
and mean_ratio_weekday
read_NYC_trip_dataset
and preprocess_dataset
1 2 3 4 5 | ## Not run:
boroughs = create_borough_features()
get_boroughs_with_aggregate_trip_data(taxidata, boroughs)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.