csb_vacant | R Documentation |
csb_vacant
appends a logical vector indicating TRUE
for vacancy related problem codes.
csb_vacant(.data, var, newVar)
.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 |
Returns a tibble with the logical vector added as a new variable.
csb_vacant(january_2018, var = problemcode, newVar = vacant)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.