codebook_fromSpreadsheet {rock} | R Documentation |
Import a code book specification from a spreadsheet
Description
Import a code book specification from a spreadsheet
Usage
codebook_fromSpreadsheet(
x,
localBackup = NULL,
exportGoogleSheet = TRUE,
xlsxPkg = c("rw_xl", "openxlsx", "XLConnect"),
silent = rock::opts$get("silent")
)
Arguments
x |
The URL or path to a file. |
localBackup |
If not |
exportGoogleSheet |
If |
xlsxPkg |
Which package to use to work with Excel spreadsheets. |
silent |
Whether to be silent or chatty. |
Value
The code book specification as a rock
code book object
Examples
### This requires an active internet connection
if (FALSE) {
gs_url <- paste0(
"https://docs.google.com/spreadsheets/d/",
"1gVx5uhYzqcTH6Jq7AYmsLvHSBaYaT-23c7ZhZF4jmps"
);
codebook <- rock::codebook_fromSpreadsheet(gs_url);
}
[Package rock version 0.8.1 Index]