Prepare Data

Create, Standardize, and Collapse Year-List Objects

cs_prep_year()

Prepare Raw Data

cs_load_year()

Create Year List Object

cs_validate()

Validate Year List Object

cs_extract_month()

Extract Month from Year List Object

cs_replace_month()

Extract Month from Year-list Object

cs_standardize()

Standardized Variables

cs_collapse()

Collapse Months in Year List Object into Single Tibble

cs_combine()

Ensure Objects Contain Data Only For a Given Year

Categorize Crimes

Work with Crime Data, including non-SLMPD Data

cs_crime()

Identify Crimes

cs_crime_cat()

Categorize Crime

cs_filter_crime()

Filter Crimes

cs_filter_count()

Remove Negative Counts

Dates

Work with Date and Coded Month Data

cs_parse_date()

Separate Date Occur

cs_parse_month()

Separate Coded Month

Spatial Data

Wrangle and Project Crimes

cs_replace0()

Replace Coordinates with 0 Value with NA

cs_missingXY()

Identify Missing Coordinates

cs_projectXY()

Project Data

Sample Data

Example Data for Practicing Wrangling and Mapping

january2018

Crimes in St. Louis, January 2018