# Examples that hit the live NYC Open Data API are guarded so CRAN checks
# do not fail when the network is unavailable or slow.
if (interactive() && curl::has_internet()) {
small_sample <- nyc_slash_stab(limit = 2)
small_sample
nyc_slash_stab(limit = 2, filters = list(incident_type = "Slashing"))
}
Run the code above in your browser using DataLab