View source: R/utils_download_certs.R
download_cert_pdf | R Documentation |
Downloads a certificate PDF from a report link and saves it locally. If the download link is a ZIP file, it extracts the PDF from the archive. Returns status based on success.
download_cert_pdf(report_link, cert_id)
report_link |
URL of the report from which to download the certificate. |
cert_id |
ID of the certificate, used for directory naming and logging. |
1 if the certificate is successfully downloaded and saved; otherwise, 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.