View source: R/createImportTemplates.R
create_import_template | R Documentation |
Create NASIS XLSX Import Files
create_import_template(
.data,
file,
template_name,
columns,
sheet,
template_version = "1.0",
delimeter = "<delimiter|||>"
)
create_import_template_from_mapping(
.data = NULL,
coltype = c("logical", "physical"),
file,
template_name,
sheet,
...
)
.data |
Optional: data.frame containing NASIS column physical or logical names to be used to populate the template. Default is an empty template. |
file |
output file name |
template_name |
template name |
columns |
columns in template |
sheet |
XLSX sheet name |
template_version |
template version; default: |
delimeter |
used internally for creating matrix representation for writing to file. Default: |
coltype |
Either |
... |
Additional arguments passed to |
Column names containing "_"
are converted to " "
writes XLSX or CSV file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.