View source: R/nyc_street_hail_livery_active.R
| nyc_street_hail_livery_active | R Documentation |
Downloads Street Hail Livery (SHL) Drivers - Active data from NYC Open Data.
nyc_street_hail_livery_active(
limit = 10000,
filters = list(),
timeout_sec = 30
)
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 = 30). |
NYC TLC licensed drivers that are currently active, in good standing and authorized to operate Street Hail Livery (SHL) vehicles. This list is accurate to the date and time represented in the Last Date Updated and Last Time Updated fields.
A tibble containing Street Hail Livery (SHL) Drivers - Active data.
NYC Open Data: <https://data.cityofnewyork.us/Transportation/Street-Hail-Livery-SHL-Drivers-Active/5tub-eh45/about_data>
# Examples that hit the live NYC Open Data API are wrapped so CRAN checks
# do not fail when the network is unavailable or slow.
if (curl::has_internet()) {
# Quick example (fetch 2 rows)
small_sample <- nyc_street_hail_livery_active(limit = 2)
small_sample
nyc_street_hail_livery_active(filters = list(status_description = "SHL UNRESTRICTED"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.