This function creates the SURVEY_COMMENTS database table from raw survey data.
1 | makeSurveyComments(df, surveyID, qids, updateID)
|
df |
Raw survey data as a data frame. Must have columns 'responseID' and 'generalComments'. |
surveyID |
Character string that will become the 'surveyID' column for this table. For example, "S11" for Survey 11. |
qids |
Data frame containing questionID/column name mappings for this survey. Create this using the 'saveQuestionIDs()' function. |
updateID |
Character string that will become the 'updateID' column for this table. For example, "survey11Add" for Survey 11. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.