Description Usage Arguments Value Examples
This function was made to clean SurveyMonkey's "double header", which contains column names and sub-column (first row) names.
1 | clean_headr(dat, rep_val = NULL, clean_names = TRUE)
|
dat |
a data.frame. |
rep_val |
repeated value as a character class. When your column names repeat, what is the repeated value. (Common cases are "X" for .csv imports or "..." for .xlsx imports). |
clean_names |
values are TRUE or FALSE. Should column names be converted to snake_case? |
a data.frame.
1 2 | library(doubleheadr)
clean_headr(doubleheadr::demo, "...")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.