Skip to contents

Phase 3CCC2. Included snapshot of NYC OpenData 35j5-n34v (221 ZCTAs intersecting NYC). ZCTAs are the Census Bureau's geographic approximation of USPS ZIP code service areas – pair with NYPD address-bearing data via ZIP code lookups for a coarser-than-precinct, finer-than-borough geography.

Usage

morie_datasets_nyc_zctas(offline = TRUE, max_features = NULL)

Arguments

offline

If TRUE (default), reads the included CSV.

max_features

Optional row cap.

Value

A data.frame with zcta5, arealand, areawater, centlat, centlon, intptlat, intptlon.

Examples

df <- morie_datasets_nyc_zctas(offline = TRUE)
head(df[, c("zcta5", "centlat", "centlon")])
#>   zcta5  centlat   centlon
#> 1 07305 40.69305 -74.06932
#> 2 10001 40.75065 -73.99730
#> 3 10002 40.71597 -73.98689
#> 4 10003 40.73186 -73.98912
#> 5 10004 40.69398 -74.01826
#> 6 10005 40.70622 -74.00869