View source: R/utils_download_certs.R
get_osf_cert_link | R Documentation |
Retrieves the link to a certificate PDF file from an OSF project node. It retrieves its files, and searches for a single PDF certificate file within the node. If multiple or no PDF files are found, it returns NULL with a warning.
get_osf_cert_link(report_link, cert_id)
report_link |
URL of the OSF report to access. |
cert_id |
ID of the certificate, used for logging and warnings. |
The download link for the certificate file as a string if a single PDF is found; otherwise, NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.