R package for accessing Wordbank
R Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
man
vignettes
.Rbuildignore
.gitignore
.push_gh_pages.sh
.travis.yml
DESCRIPTION
NAMESPACE
NEWS.md
README.md
cran-comments.md

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.