Skip to contents

Phase 3CCC1. Maps the leading alpha prefix of an NYPD law_code (e.g., "PL" in "PL 1601005") to its human-readable statute book name + jurisdiction (NYS vs NYC). Covers all 22 distinct prefixes observed in the YTD arrests feed + 24 additional canonical NYS / NYC codes that appear in complaint, summons, and historical arrest data.

Usage

morie_datasets_nyc_nypd_law_books()

Value

A data.frame with columns book, name, jurisdiction.

Examples

books <- morie_datasets_nyc_nypd_law_books()
subset(books, book == "PL")
#>   book      name jurisdiction
#> 1   PL Penal Law          NYS