Description Usage Arguments Value See Also Examples
Reads zones shapefile provided by user, or download it from NYC website if not provided, joins each borough's zones features together to create a geometry for each borough with its name attribute
1  | create_borough_features(zones_shapefile)
 | 
zones_shapefile | 
 zones shapefile as an sf object, or downloads it from https://s3.amazonaws.com/nyc-tlc/misc/taxi_zones.zip if it's left empty  | 
A SpatialPolygonsDataFrame with the borough's geometries and borough names
read_NYC_trip_dataset and preprocess_dataset
1 2 3 4  | ## Not run: 
   boroughs = create_borough_features()
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.