get_item_data | R Documentation |
Get the Wordbank by-item data
get_item_data(language = NULL, form = NULL, db_args = NULL)
language |
An optional string specifying which language's items to retrieve. |
form |
An optional string specifying which form's items to retrieve. |
db_args |
List with arguments to connect to wordbank mysql database (host, dbname, user, and password). |
A data frame where each row is a CDI item and each column is a
variable about it: item_id
, item_kind
(e.g. word, gestures,
word_endings), item_definition
, english_gloss
,
language
, form
, form_type
, category
(meaning-based group as shown on the CDI form), lexical_category
,
lexical_class
, complexity_category
, uni_lemma
).
english_ws_items <- get_item_data("English (American)", "WS")
all_items <- get_item_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.