get_instrument_data | R Documentation |
Get the Wordbank administration-by-item data
get_instrument_data(
language,
form,
items = NULL,
administration_info = FALSE,
item_info = FALSE,
db_args = NULL,
...
)
language |
A string of the instrument's language (insensitive to case and whitespace). |
form |
A string of the instrument's form (insensitive to case and whitespace). |
items |
A character vector of column names of |
administration_info |
Either a logical indicating whether to include
administration data or a data frame of administration data (as returned by
|
item_info |
Either a logical indicating whether to include item data or
a data frame of item data (as returned by |
db_args |
List with arguments to connect to wordbank mysql database (host, dbname, user, and password). |
... |
<['dynamic-dots'][rlang::dyn-dots]> Arguments passed to
|
A data frame where each row contains the values (value
,
produces
, understands
) of a given item (item_id
) for a
given administration (data_id
), with additional columns of variables
about the administration and item, as specified.
eng_ws_data <- get_instrument_data(language = "English (American)",
form = "WS",
items = c("item_1", "item_42"),
item_info = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.