README.md

wordbankr

Travis-CI Build Status

R package for accessing the Wordbank database.

Installation

To install the released version on CRAN:

install.packages("wordbankr")

To install the latest development version:

# install.packages("devtools")
devtools::install_github("langcog/wordbankr")

Usage

See what instruments (languages and forms) are available:

instrument <- get_instruments()

Get by-administration data:

english_ws_admins <- get_administration_data("English (American)", "WS")
all_admins <- get_administration_data()

Get by-item data:

english_ws_items <- get_item_data("English (American)", "WS")
all_items <- get_item_data()

Get administration-by-item data:

english_ws_data <- get_instrument_data("English (American)", "WS")

For more details, see this vignette and check out more complicated usages.



Try the wordbankr package in your browser

Any scripts or data that you put into this service are public.

wordbankr documentation built on March 18, 2018, 1:14 p.m.