Description Usage Arguments Details Value Author(s)
Clean a particular dataset
1 |
df |
dataset to use for cleaning |
col_select |
vector of specific variables from your dataset that you want to use (rather than the all dataset). |
This function allows you to clean a particular dataset and if you want, only select particular variables from it.
"This function allows us to clean dataset with great characteristics:"
Dataset is in data.table
format
Use the parameter col_select
, to select variables that we want from the dataset
Delete special characters
Toupper Variables
Toupper character and factor observations
Assign the correct data type to each variable
Change "" strings to N/A
Remove whitespace from start and end of each observation
Eduardo Trujillo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.