append_wibrs: append_wibrs

Description Usage Arguments Value Examples

Description

append_wibrs appends new, raw WIBRS data to the historical, raw WIBRS dataset. It assumes that the new data frame came from an Excel file downloaded from the City of Milwaukee's COMPASS server (see get_wibrs) and therefore trims the last three rows of the new data frame.

Usage

1

Arguments

old

A data frame of WIBRS data.

new

A data frame of WIBRS data.

Value

A data frame.

Examples

1
2
3
4
data(raw_wibrs_2005thru2015)
wibrs2015 <- xlsx::read.xlsx2("~/Dropbox/Analytics-Consulting/Non-client_projects/MKE data/crime/2015_WIBR_Radius99K_accessed041316.xls", 1) # accessed 04/13/16
# Note: the following example results in dupes
combo <- append_wibrs(raw_wibrs_2005thru2015, wibrs2015)

MatthewSchumwinger/mkedata documentation built on May 7, 2019, 4:34 p.m.