get_wibrs: Retrieve the Wisconsin Incident Based Report (WIBR) dataset

Description Usage Arguments Details Value Examples

View source: R/get_wibrs.R

Description

get_wibrs returns a data.frame containing the complete WIBRS crime data for the requested time period (if specified) and the selected geography (if specified).

Usage

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

spatial

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

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.

Details

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

Value

A dataframe.

Examples

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