NYPD Stop, Question and Frisk (SQF) microdata via NYC OpenData.
Source:R/datasets.R
morie_datasets_nyc_stop_and_frisk.RdNYPD Stop, Question and Frisk (SQF) microdata via NYC OpenData.
Usage
morie_datasets_nyc_stop_and_frisk(
year = NULL,
max_features = NULL,
offline = TRUE,
paginate = FALSE,
page_size = 1000L,
max_pages = 200L
)Arguments
- year
Integer or
NULL; release year (one of 2022, 2023, 2024).NULLdefaults to the most-recent registered year.- max_features
Integer or
NULL; cap on returned rows. Whenpaginate = TRUEthis is the total cap across all walked pages.- offline
Logical; if
TRUE, return the bundled synthetic frame.- paginate
Logical; if
TRUEandoffline = FALSE, walk SODA2$offsetinpage_sizechunks. DefaultFALSE.- page_size
Integer; per-page row count when paginating (default 1,000, the unauthenticated SODA2 ceiling).
- max_pages
Integer; safety net on paginated walks (default 200).