Description Usage Arguments Details Value See Also
Parse an XLS-format exported file from SurveyMonkey into a data frame. The function attempts to deduce the format of each survey question (e.g. multiple versus single response) from patterns in the headers and the responses in the file.
1 | loadSurveyMonkeyXLS(fname, idcols = 1:9)
|
fname |
Character vector of length 1 pointing to file location. |
idcols |
Numeric vector identifying columns in the data to be treated as respondent identifiers as opposed to question responses. |
To obtain the proper file from SurveyMonkey, request a data export of "all responses" and choose the XLS format (not XLS+).
an object of class SurveyQuestion
that inherits from
data.frame. The data is in long form wherein each row respresents a single
selection from the with the corresponding question named in the
question
column and the selected or entered value in the
response
column. The columns specified in the idcols
argument
will appear in data as well as a unique questionId
, question format
type
, and subgroup
within a survey question where
appropriate. Methods are available for
summary and
plot for the entire survey or for single
questions retrieved via extractQuestion.
SurveyQuestion
, extractQuestion
,
plot.SurveyQuestion
, summary.SurveyQuestion
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.