csb_vacant: Identify Calls for Service Related to Vacancy

Description Usage Arguments Value Examples

Description

csb_vacant appends a logical vector indicating TRUE for vacancy related problem codes.

Usage

1
csb_vacant(.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 vacant logical

Value

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

Examples

1
csb_vacant(january_2018, var = problemcode, newVar = vacant)

stlcsb documentation built on May 2, 2019, 4 a.m.