csb_vacant: Identify Calls for Service Related to Vacancy

View source: R/csb_vacant.R

csb_vacantR Documentation

Identify Calls for Service Related to Vacancy

Description

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

Usage

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

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


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