Get survey data

get_survey_data(surveysDF, creds, pid_col = "ID")

Arguments

surveysDF

A data.frame as returned by the get_surveys

creds

A named character with creds$user and creds$token

pid_col

A character with the column name specifying user ID.

Value

Returns a long format data.frame of survey data with names "SID variable name", "item", "value", "survey_name"