download_NY_zones: Download NYC zones from NYC website

Description Usage Arguments Value Examples

Description

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

Usage

1

Arguments

as_sf

if needed the zones can be returned as an sf object

Value

A SpatialPolygonsDataFrame with the NY zones

Examples

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)

alaacs/nytaxi documentation built on May 9, 2019, 7:31 p.m.