sfOpenData: A Lightweight Interface to San Francisco Open Data APIs

Provides a unified set of helper functions to access datasets from the San Francisco Open Data platform <https://data.sfgov.org/>. Functions return results as tidy tibbles and support optional filtering, sorting, and row limits via the Socrata API. The package provides a consistent interface for discovering and downloading datasets from the San Francisco Open Data Portal using human-readable dataset keys or official Socrata dataset identifiers.

Version: 0.1.2
Depends: R (≥ 4.1.0)
Imports: curl, dplyr, httr, janitor, jsonlite, rlang, tibble
Suggests: ggplot2, knitr, rmarkdown, scales, testthat (≥ 3.0.0), tidyr, vcr (≥ 0.6.0), webmockr
Published: 2026-09-08
DOI: 10.32614/CRAN.package.sfOpenData (may not be active yet)
Author: Shelby Lyn Gomes [aut] (GitHub: gomes-sh), Christian Martinez ORCID iD [aut, cre] (GitHub: martinezc1)
Maintainer: Christian Martinez <c.martinez0 at outlook.com>
BugReports: https://github.com/nyc-open-data-lab/sfOpenData/issues
License: MIT + file LICENSE
URL: https://github.com/nyc-open-data-lab/sfOpenData, https://github.com/nyc-open-data-lab/sfOpenData/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: sfOpenData results

Documentation:

Reference manual: sfOpenData.html , sfOpenData.pdf
Vignettes: Getting Started with San Francisco Open Data (source)

Downloads:

Package source: sfOpenData_0.1.2.tar.gz
Windows binaries: r-devel: not available, r-release: sfOpenData_0.1.2.zip, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): sfOpenData_0.1.2.tgz, r-oldrel (x86_64): sfOpenData_0.1.2.tgz

Linking:

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

mirror server hosted at Truenetwork, Russian Federation.