Description Usage Arguments Value Examples
Collect all possible names in Excel data files
1 | varnames_possible(paths.xls, .verbose = TRUE)
|
paths.xls |
character vector, file paths to Excel files |
.verbose |
logical, should print messages? Default: TRUE |
character vector with the unique variable names found in Excel files
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
if(interactive()){
xfiles_l <- list.files(
"vignettes/dvd_xls_files",
recursive = TRUE,
full.names = TRUE
)
xls_paths <- sample(xfiles_l, 2)
xls_vnames <- varnames_possible(xls_paths)
xls_vnames
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.