csb_categorize: Categorize CSB Call Types

View source: R/csb_categorize.R

csb_categorizeR Documentation

Categorize CSB Call Types

Description

csb_categorize provides general categories for the CSB data based on problem code. These were created based on a review of the call data in mid-2018.

Usage

csb_categorize(.data, var, newVar)

Arguments

.data

A tibble or data frame

var

Name of existing column containing problem codes

newVar

Name of output variable to be created with category string

Value

Returns a tibble with the string vector added as a new variable.

Examples

csb_categorize(january_2018, var = problemcode, newVar = Category)


slu-openGIS/stlcsb documentation built on Jan. 28, 2024, 12:10 p.m.