nettskjema_get_codebook {nettskjemar}R 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)

[Package nettskjemar version 0.1.4 Index]