View source: R/shiny_support.R
LoadData | R Documentation |
Reads all individual choice data files, created by SurveyApp
function, from a directory and concatenates
those files into a single data file. Files containing either "num" or "char"
will be read, with num indicating numeric data and char indicating character
data. For more information, see output of SurveyApp
.
LoadData(data.dir, type)
data.dir |
A character string containing the directory to read from. |
type |
Character vector containing either num or char. |
A data frame containg the full design and all the responses of the combined data files that were found. Different files are indicated by an ID variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.