get_TrafficAccidents: Retrieve the Traffic Accident dataset

Description Usage Arguments Details Value Examples

View source: R/get_TrafficAccidents.R

Description

get_TrafficAccidents returns a data.frame containing a list of traffic accidents for the requested time period (if specified).

Usage

1
2
get_TrafficAccidents(start_date = NULL, end_date = NULL,
  include_missingDate = FALSE)

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.

include_missingDate

Logical. If TRUE values without a valid date will be included. Defaults to FALSE.

Details

Currently, geocoding is not available for this resource because locations are not given as standard addresses. Refer to the data dictionary for variable descriptions: https://data.milwaukee.gov/dataset/trafficaccident

Value

A dataframe.

Examples

1
2
get_TrafficAccidents()
get_TrafficAccidents(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.