get_raw_codebook {nettskjemar} | R Documentation |
Get the raw codebook
Description
The raw codebook is a list
of answers and questions with
unique ids for both, and the text associated
with them. This information can be retrieved
from the raw nettskjema data. This can be useful
if the nettskjema submission data has been returned
with as_is = TRUE
.
Usage
get_raw_codebook(form_id, token_name = "NETTSKJEMA_API_TOKEN", ...)
Arguments
form_id |
integer. Number of the form to retrieve |
token_name |
character. Name to give the token, defaults to 'NETTSKJEMA_API_TOKEN' |
... |
other arguments to |
Value
long format tibble with meta-data for a specific nettskjema
Examples
## Not run:
form_id <- 100000
get_raw_codebook(form_id)
Or if the token is saved in a non-standard name
get_raw_codebook(form_id, token_name = "MY_NETTSKJEMA_TOKEN_NAME")
## End(Not run)
[Package nettskjemar version 0.1.4 Index]