get_arrests: Get Philadelphia District Attorney's Office Arrests Data

Description Usage Arguments Value Examples

View source: R/main.R

Description

This function grabs the publicly available from the Philadelphia District Attorney's Office Public Data Dashboard.

Usage

1
2
3
get_arrests(
  geography = c("citywide", "police_district", "zip_code", "census_tract")
)

Arguments

geography

A string with one of the following: 'citywide', 'police_district', 'zip_code', 'census_tract'.

Value

A data.frame with the data at the desired geographic unit.

Examples

1
2
3
4
5
## Not run: 
data <- get_arrests("citywide")
head(data)

## End(Not run)

phillydaodata documentation built on Jan. 28, 2021, 1:09 a.m.