reformatting | R Documentation |
Various functions that reformat variables as needed. These are
specific to the public housing authority datasets.
date_ymd_f
takes a character string and converts it to date.
yesno_f
converts various string responses into a numeric binary.
char_f
changes a variable to character format
trim_f
trims white space
date_ymd_f(df, ...)
yesno_f(df, ...)
char_f(df, ...)
trim_f(df, ...)
df |
A data frame |
... |
Variables that need to be formatted |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.