get_survey_data.Rd
Authenticate using a Gmail account or a service account and retrieve data from the post-survey sheet for the DS4OWD course.
get_survey_data(
sheet_url = "",
service_acc_path = "path/to/service/account.json",
email = "jane.doe@gmail.com",
n_course_modules = 10
)
URL to the Google Sheet. Defaults to the post-course survey for 2023.
Path to the JSON file of the service account with access to the Google Sheet. Not required if `email` is provided.
Email address of the user with access to the Google Sheet. Defaults to a dummy email. Either this or `service_acc_path` is required.
Number of modules in the course. Default is 10.
A CSV file with the cleaned survey data.
if (FALSE) { # \dontrun{
get_survey_data(sheet_url = "docs.google.com/spreadsheets/d/YOUR_SHEET_ID/edit",
email = "jane.doe@gmail.com", n_course_modules = 10)
} # }