This function creates the SURVEYS database table from raw survey data.
1 | makeSurveys(df, surveyID, updateID, admin, surveyName)
|
df |
Raw survey data as a data frame. |
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. |
admin |
Character string: name of the person who administered the survey. For example, "Jim Wood". |
surveyName |
Character string naming the survey (this is an opportunity to be more descriptive than 'surveyID' allows.) For example, the 'surveyName' for Survey 11 might be "Survey 11". Or, if you did a survey focused on a particular construction, you might call it "Needs Washed Survey". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.