get_GarbageViolations: Retrieve the resolved (abated) garbage violations dataset

Description Usage Arguments Details Value Examples

View source: R/get_GarbageViolations.R

Description

get_GarbageViolations returns a data.frame containing the complete Garbage Violations dataset for the requested time period (if specified) and the selected geography (if specified).

Usage

1
2
get_GarbageViolations(start_date = NULL, end_date = NULL, shape,
  include_missing = FALSE, spatial = 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.

shape

An object of class sf. If included, the output will be filtered using st_intersection

include_missing

Logical. If TRUE values not geocoded will be added to the output. Defaults to FALSE.

spatial

Logical. If TRUE the output is class sf. Defaults to FALSE.

Details

Refer to the data dictionary for variable descriptions: https://data.milwaukee.gov/dataset/garbageviolationsabatedcurrent

Value

A dataframe.

Examples

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