nettskjema_list_attachments: List Nettskjema attachments

View source: R/nettskjema-attachments.R

nettskjema_list_attachmentsR Documentation

List Nettskjema attachments

Description

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.

Usage

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

## Not run: 
submission_id <- c(22222, 1232, 21555)
nettskjema_list_attachments(submission_id)


## End(Not run)

LCBC-UiO/nettskjemar documentation built on Aug. 24, 2023, 5:44 p.m.