makeRatings: Make the RATINGS table

Description Usage Arguments

Description

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

Usage

1
makeRatings(df, questions, surveyID, updateID)

Arguments

df

Raw survey data as a data frame.

questions

The QUESTIONS portion of the database tables, created by makeQuestions.R

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.


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