R/codebook_fromSpreadsheet.R
codebook_fromSpreadsheet.Rd
Import a code book specification from a spreadsheet
The URL or path to a file.
If not NULL
, a valid filename to write a local
backup to.
If x
is a URL to a Google Sheet, instead of using
the googlesheets4
package to download the data, by passing
exportGoogleSheet=TRUE
, an export link will be produced and the data
will be downloaded as Excel spreadsheet.
Which package to use to work with Excel spreadsheets.
Whether to be silent or chatty.
The code book specification as a rock
code book object
### 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);
}