nycOpenData: A Lightweight Interface to NYC Open Data APIs

Provides a unified set of helper functions to access datasets from the NYC Open Data platform <https://opendata.cityofnewyork.us/>. Functions return results as tidy tibbles and support optional filtering, sorting, and row limits via the Socrata API. The package includes endpoints for 311 service requests, DOB job applications, juvenile justice metrics, school safety, environmental data, event permitting, and additional citywide datasets.

Version: 0.2.2
Depends: R (≥ 4.1.0)
Imports: httr, jsonlite, tibble, janitor, curl, dplyr, rlang
Suggests: ggplot2, knitr, rmarkdown, scales, testthat (≥ 3.0.0), tidyr, vcr (≥ 0.6.0), webmockr
Published: 2026-06-18
DOI: 10.32614/CRAN.package.nycOpenData
Author: Christian Martinez ORCID iD [aut, cre] (GitHub: martinezc1), Crystal Adote [ctb] (GitHub: crystalna20), Jonah Dratfield [ctb] (GitHub: jdratfield38), Joyce Escatel-Flores [ctb] (GitHub: JoyceEscatel), Rob Hutto [ctb] (GitHub: robhutto), Isley Jean-Pierre [ctb] (GitHub: ijpier), Shannon Joyce [ctb] (GitHub: shannonjoyce), Laura Rose-Werner [ctb] (GitHub: laurarosewerner), Emma Tupone [ctb] (GitHub: emmatup0205), Xinru Wang [ctb] (GitHub: xrwangxr)
Maintainer: Christian Martinez <c.martinez0 at outlook.com>
BugReports: https://github.com/martinezc1/nycOpenData/issues
License: MIT + file LICENSE
URL: https://martinezc1.github.io/nycOpenData/, https://github.com/martinezc1/nycOpenData
NeedsCompilation: no
Citation: nycOpenData citation info
Materials: README, NEWS
CRAN checks: nycOpenData results

Documentation:

Reference manual: nycOpenData.html , nycOpenData.pdf
Vignettes: Getting Started with nycOpenData (source, R code)

Downloads:

Package source: nycOpenData_0.2.2.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: nycOpenData_0.2.2.zip
macOS binaries: r-release (arm64): nycOpenData_0.2.2.tgz, r-oldrel (arm64): nycOpenData_0.2.2.tgz, r-release (x86_64): nycOpenData_0.2.2.tgz, r-oldrel (x86_64): nycOpenData_0.2.2.tgz
Old sources: nycOpenData archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=nycOpenData to link to this page.