Learn R Programming

wordbankr

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.

Copy Link

Version

Install

install.packages('wordbankr')

Monthly Downloads

67

Version

1.0.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mika Braginsky

Last Published

March 1st, 2024

Functions in wordbankr (1.0.3)

get_common_table

Connect to a single Wordbank common table
get_instrument_data

Get the Wordbank administration-by-item data
get_crossling_data

Get item-by-age summary statistics for items across languages
fit_aoa

Fit age of acquisition estimates for Wordbank data
get_wordbank_args

Get database connection arguments
connect_to_wordbank

Connect to the Wordbank database
get_administration_data

Get the Wordbank by-administration data
fit_vocab_quantiles

Fit quantiles to vocabulary sizes using quantile regression
get_crossling_items

Get the uni_lemmas available in Wordbank
get_datasets

Get the Wordbank data sources
get_item_data

Get the Wordbank by-item data
get_instruments

Get the Wordbank instruments
wordbankr-package

wordbankr: Accessing the Wordbank Database
get_instrument_table

Connect to an instrument's Wordbank table
summarise_items

Get item-by-age summary statistics