nettskjema_get_codebook: Get codebook for a form

View source: R/nettskjema-codebook.R

nettskjema_get_codebookR Documentation

Get codebook for a form

Description

With the given API token, will retrieve a list of all the forms you have access to

Usage

nettskjema_get_codebook(
  form_id,
  as_is = FALSE,
  token_name = "NETTSKJEMA_API_TOKEN",
  ...
)

Arguments

form_id

integer. Number of the form to retrieve

as_is

logical. Whether to return the raw content from nettskjema. Default is FALSE.

token_name

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

...

arguments passed to GET

Value

list of class nettskjema_meta_data

Examples

## Not run: 
codebook_110000 <- nettskjema_get_codebook(110000)

## End(Not run)

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