Description Usage Arguments Value Examples
Downloads the zip file from NYC website (https://s3.amazonaws.com/nyc-tlc/misc/taxi_zones.zip) unzips it to a temporary directory, read it and then delete the temporary files
1 | download_NY_zones(as_sf = FALSE)
|
as_sf |
if needed the zones can be returned as an sf object |
A SpatialPolygonsDataFrame
with the NY zones
1 2 3 4 5 6 | ## Not run:
zones = download_NY_zones()
#or
zones = download_NY_zones(as_sf = T) #to download as sf object
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.