Description Usage Arguments Details Value See Also
Returns information about whether users earned and viewed a course certificate, in addition to what datetime those events occurred.
1 | fetch_certs(cert_cm_id, user_ids, ..., con = get_session_con())
|
cert_cm_id |
A single integer corresponding to a certificate course
module id (see |
user_ids |
A vector of integers corresponding to userids. |
... |
Potential future args. |
con |
A database connection object, using the session connection by default. |
Only certificate views are neatly tracked in database tables. Whether or not a certificate is earned has to be determined at the time this function is run by comparing the certificate's availability conditions to trace data. Thus, completion results may differ between runs of this function if a course editor changes the availability conditions of the certificate or a student meets a requirement they had not previously met.
A tibble with certificate information for each input userid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.