makeSurveys: Make the SURVEYS table

Description Usage Arguments

Description

This function creates the SURVEYS database table from raw survey data.

Usage

1
makeSurveys(df, surveyID, updateID, admin, surveyName)

Arguments

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".


kaijagahm/ygdpAddSurvey documentation built on July 22, 2021, 2:11 p.m.