Get area 911 calls for service from Open Baltimore
Source:R/get_area_911_calls.R
get_area_911_calls.Rd
get_area_911_calls()
can return public records on 911 calls for service
from 2017 through the present year.
Usage
get_area_911_calls(
area_type = NULL,
area_name = NULL,
description = NULL,
year = 2023,
start_date = NULL,
end_date = NULL,
where = NULL,
...
)
Arguments
- 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
NULL
, the oldest year from the start_date and end_date is used.- 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
getdata::get_esri_data()
excluding url, where, crs, and .name_repair.