Description Usage Arguments Details Value See Also
Get responses to survey questions asked during course enrollment.
1 2 | fetch_enroll_survey(esurvey_id, user_ids, shape = "wide", ...,
con = get_session_con())
|
esurvey_id |
A single integer corresponding to an enrollment survey id in the database. This is NOT a course module id, because enrollment surveys are not course modules. |
user_ids |
A vector of integers corresponding to userids. |
shape |
A single string specifying what shape the returned data should
have. |
... |
Potential future args. |
con |
A database connection object, using the session connection by default. |
If there are multiple submissions of the same survey for the same course by the same user, then the most recent is returned. Not sure why there are duplicates. It might occur when a user edits a survey response from their account settings, or when they click the submit button twice before the page finishes loading.
A tibble with enrollment survey responses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.