Each unique submission ID in Nettskjema may have some attachments. These can be listed using this function, which will provide the information on where in the Nettskjema API the files are located, their original file names, and a suggested standardized file names for tidier data output.

nettskjema_list_attachments(
  submission_id,
  token_name = "NETTSKJEMA_API_TOKEN",
  ...
)

Arguments

submission_id

integer. Unique identifier of a specific Nettskjema submission.

token_name

character. Name to give the token, defaults to 'NETTSKJEMA_API_TOKEN'

...

arguments passed to GET

Value

a tibble with information on attachments available.

Examples

if (FALSE) { submission_id <- c(22222, 1232, 21555) nettskjema_list_attachments(submission_id) }