Description Usage Arguments Value Examples
This function conducts basic data cleaning tasks on a data frame.
1 2 | format_data(data, to_date = c("start$|^start|end$|^end|date"),
to_numeric = c("id$|days|time|weight|wage"))
|
data |
dataframe: a dataframe containing. |
to_date |
character vector: Names of columns to be converted to date format. |
to_numeric |
character vector: Names of columns to be converted to numeric format. |
dataframe
1 2 | enroll <- laycUtils::load_txt('./my_data_folder/enrollment.txt')
format_data(data = enroll)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.