View source: R/Data_Functions.R
DataInit | R Documentation |
Creates template for the Data input file (Excel or CSV) and Data documentation file (Markdown)
in the working directory or the directory specified by the dir
argument
DataInit(name = "Data", ext = c("xlsx", "csv"), overwrite = FALSE, dir = NULL)
name |
Name of the data input files. Default is 'Data'. Use 'Example' to create populated example Data Input and Data Documentation files. |
ext |
Optional file extension for input file. 'xlsx' (default) or 'csv' |
overwrite |
Logical. Overwrite existing files? |
dir |
Optional directory path to create the Data files. Default is 'getwd()“ |
Nothing. Creates template data files in the working directory.
A. Hordyk
## Not run:
DataInit("Example") # populated example
DataInit("myData") # empty template
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.