Unified catalog of NYC OpenData boundary loaders
Source:R/datasets_nyc_nypd.R
morie_datasets_nyc_boundaries_catalog.RdPhase 3CCC2. One-stop index of every NYC boundary fixture morie ships, with its loader, SODA id, expected row count, and a note on its join key.
Details
NOTE: school/council/community/NTA boundaries are NOT directly
row-key joinable to NYPD CJ data – the CJ rows carry lat/long
(or just precinct/borough), not a district ID. Use these loaders
standalone for geographic context, or pair with a spatial join
via the sf package on the_geom (not bundled to keep morie
lightweight).
Examples
morie_datasets_nyc_boundaries_catalog()
#> boundary loader soda_id n_rows
#> 1 borough morie_datasets_nyc_boroughs gthc-hcne 5
#> 2 police_precinct morie_datasets_nyc_police_precincts 78dh-3ptz 78
#> 3 school_district morie_datasets_nyc_school_districts 8ugf-3d8u 33
#> 4 council_district morie_datasets_nyc_council_districts 872g-cjhh 51
#> 5 community_district morie_datasets_nyc_community_districts 5crt-au7u 71
#> 6 nta_2020 morie_datasets_nyc_ntas_2020 9nt8-h7nd 262
#> 7 zcta morie_datasets_nyc_zctas 35j5-n34v 221
#> join_key row_key_joinable_to_nypd
#> 1 borocode TRUE
#> 2 precinct TRUE
#> 3 schooldist FALSE
#> 4 coundist FALSE
#> 5 boro_cd FALSE
#> 6 nta2020 FALSE
#> 7 zcta5 FALSE