get_FireIncidents: Retrieve the Fire Incident dataset

Description Usage Arguments Details Value Examples

View source: R/get_FireIncidents.R

Description

get_FireIncidents returns a data.frame containing a list of fire dept incidents for the requested time period (if specified).

Usage

1
2
get_FireIncidents(start_date = NULL, end_date = NULL,
  spatial = FALSE, shape)

Arguments

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.

Details

Geocoding is based on the coordinates provided in the file. Refer to the data dictionary for variable descriptions: https://data.milwaukee.gov/dataset/mfdprimary/

Value

A dataframe.

Examples

1
2
get_FireIncidents()
get_FireIncidents(start_date = as.Date("2018-01-01"), end_date = as.Date("2018-02-01"))

jdjohn215/milwaukeer documentation built on Aug. 29, 2019, 11:44 p.m.