View source: R/implement_cleaning_log.R
implement_cleaning_log | R Documentation |
Function to read a REACH-style cleaning log and a dataframe and produce a cleaned dataset based on the cleaning log.
implement_cleaning_log(df, uuid_col, cleaning_log)
df |
Inputs a dataframe of raw data. |
uuid_col |
Inputs a character value specifying the column name for uuid, or whichever unique record level value which to target cleaning. |
cleaning_log |
Inputs a dataframe that is the REACH-style cleaning log. |
Returns a dataframe of the clean dataset.
## Not run: implement_cleaning_log(df = rawdata, uuid_col = "uuid",
cleaning_log = mycleaninglog)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.