nyc_permit_events_historic: NYC Permitted Event Information - Historical

View source: R/nyc_permit_events_historic.R

nyc_permit_events_historicR Documentation

NYC Permitted Event Information - Historical

Description

Downloads historical permitted event data from NYC Open Data.

Usage

nyc_permit_events_historic(limit = 10000, filters = list(), timeout_sec = 60)

Arguments

limit

Number of rows to retrieve (default = 10,000).

filters

Optional list of field-value pairs to filter results.

timeout_sec

Request timeout in seconds (default = 60).

Details

This dataset includes historical information about events permitted through the Office of Citywide Event Coordination and Management (CECM), including parades, festivals, street fairs, and other public gatherings.

Value

A tibble containing NYC Permitted Event Information - Historical data.

Source

NYC Open Data: <https://data.cityofnewyork.us/resource/bkfu-528j>

Examples


if (curl::has_internet()) {
  small_sample <- try(
    nyc_permit_events_historic(limit = 2, timeout_sec = 10),
    silent = TRUE
  )
  if (!inherits(small_sample, "try-error")) print(small_sample)

  filtered <- try(
    nyc_permit_events_historic(
      limit = 2,
      filters = list(event_type = "Construction"),
      timeout_sec = 10
    ),
    silent = TRUE
  )
  if (!inherits(filtered, "try-error")) print(filtered)
}



nycOpenData documentation built on Jan. 26, 2026, 1:06 a.m.