Description Usage Arguments Details Value Examples
View source: R/get_FireIncidents.R
get_FireIncidents
returns a data.frame containing a list of fire dept incidents
for the requested time period (if specified).
1 2 | get_FireIncidents(start_date = NULL, end_date = NULL,
spatial = FALSE, shape)
|
start_date |
The first date to be included. Must be coercible to class Date. Defaults to first date available. |
end_date |
The last date to be included. Must be coercible to class Date. Defaults to last date available. |
shape |
An object of class sf. If included, the output will be filtered using st_intersection |
make_spatial |
Logical. If TRUE the output is class sf. Defaults to FALSE. |
Geocoding is based on the coordinates provided in the file. Refer to the data dictionary for variable descriptions: https://data.milwaukee.gov/dataset/mfdprimary/
A dataframe.
1 2 | get_FireIncidents()
get_FireIncidents(start_date = as.Date("2018-01-01"), end_date = as.Date("2018-02-01"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.