View source: R/get_area_911_calls.R
get_area_911_calls | R Documentation |
get_area_911_calls()
can return public records on 911 calls for service
from 2017 through the present year.
get_area_911_calls(
area_type = NULL,
area_name = NULL,
description = NULL,
year = 2023,
start_date = NULL,
end_date = NULL,
where = NULL,
...
)
area_type |
Area type. Requires area_name is also provided. Options include "neighborhood", "council district", or "police district" |
area_name |
Area name. Requires area_type is also provided. |
description |
String matching call description, e.g. "DISORDERLY", "BURGLARY", "DISCHRG FIREARM", etc. |
year |
numeric. Year of calls for service. Currently only one year at a
time is supported (except for years since 2021). If |
start_date |
Character string in format YYYY-MM-DD. Filters calls by date. |
end_date |
Character string in format YYYY-MM-DD. Filters calls by date. |
where |
string for where condition. Ignored if area_type, area_name, start_date, or end_date are provided. |
... |
Additional parameters passed to |
## Not run:
get_area_911_calls(
area_type = "neighborhood",
area_name = "Downtown",
start_date = "2022-01-01",
end_date = "2022-01-02",
description = "AUTO"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.