Description Usage Arguments Value
View source: R/pd_executeCoercions.R
executeCoercions:
1 | executeCoercions(df, whitespace_trim = TRUE, clean_var_names = TRUE)
|
df |
Input dataframe |
whitespace_trim |
User defined boolean for whether leading/trailing white space is trimmed in strings (TRUE / FALSE) |
clean_var_names |
User defined boolean indicating whether to clean the variable names using janitor::clean_names, DEFAULT = T |
out
list containing 3 data frames df, data_types, data_names
df
Dataframe with factor fields converted to character type and white space trimming (if option is selected by the user)
data_types
Dataframe with field types before and after cleaning for both df and DFB
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.