View source: R/ns-attachment.R
ns_get_submission_attachments | R Documentation |
Each unique submission ID in Nettskjema may have some attachments. This function saves all attachments associated with a submission ID.
ns_get_submission_attachments(
submission_id,
filenames = "standardized",
output_dir = paste0("./", submission_id)
)
submission_id |
integer. Unique identifier of a specific Nettskjema submission. |
filenames |
Character of either 'standardized' (default) or 'original' indicating which file names to use. |
output_dir |
directory to output the files to |
a data.frame with information on attachments available, files written to path
## Not run:
submission_id <- 22222
ns_get_submission_attachments(submission_id)
ns_get_submission_attachments(submission_id, "original")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.