# Examples that hit the live NYC Open Data API are wrapped so CRAN checks
# do not fail when the network is unavailable or slow.
# \donttest{
if (curl::has_internet()) {
# Quick example (fetch 2 rows)
small_sample <- nyc_borough_community_report(limit = 2)
head(small_sample)
nyc_borough_community_report(filters = list(borough = "Bronx"))
}
# }
Run the code above in your browser using DataLab