reformatting: General reformatting.

reformattingR Documentation

General reformatting.

Description

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

Usage

date_ymd_f(df, ...)

yesno_f(df, ...)

char_f(df, ...)

trim_f(df, ...)

Arguments

df

A data frame

...

Variables that need to be formatted


PHSKC-APDE/Housing documentation built on Feb. 6, 2024, 3:27 a.m.