Open the metadata scheme as a spreadsheet in a spreadsheet editor
Source:R/open_new_spreadsheet.R
open_new_spreadsheet.Rd
Open system.file(paste0(schemeName, ".xlsx"), package = schemeName)
in excel.
New data can be entered and the file has to be saved at a different location
as it is a read-only file.
Usage
open_new_spreadsheet(
file = NULL,
open = TRUE,
keepData = FALSE,
format = TRUE,
overwrite = FALSE,
verbose = FALSE
)
Arguments
- file
if not
NULL
, the template will be saved to this file.- open
if
TRUE
, the file will be opened. This can produce different results depending on the OS, browsr and browser settings.- keepData
if
TRUE
the data entry areas will be emptied. IfFALSE
. the example data will be included.- format
if
FALSE
the sheet will be opened as the sheet is. ifTRUE
, it will be formated nicely.- overwrite
if
TRUE
, the file specified infile
will be overwritten. ifFALSE
, an error will be raised ehen the file exists.- verbose
give verbose progress info. Useful for debugging.