View source: R/makeQuestions.R
This function creates the QUESTIONS database table from raw survey data.
This function creates the QUESTIONS database table from raw survey data.
1 2 3 | makeQuestions(df, qids, surveyID, updateID)
makeQuestions(df, qids, surveyID, updateID)
|
df |
Raw survey data as a data frame. |
qids |
Data frame containing questionID/column name mappings for this survey. This is created using the ‘saveQuestionIDs()' function. Must have columns ’colName' and 'questionIDRaw'. |
surveyID |
Character string that will become the 'surveyID' column for this table. For example, "S11" for Survey 11. |
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.