multilex: Multilingual lexical assessment using online surveys
Establish reproducible workflows for assessing lexical development online using formR. This package extends the functionalities of formr (see formr repository) to ease the standardisation of online vocabulary checklists used by developmental psychologists. This package covers two functions: the creation of surveys from Excel/CSV/TSV files, and the retrieval and preprocessing of data. A key motivation for this package is that all of these actions can be performed from the same R session, increasing the reproducibility of the workflow.
To install this package:
install.packages("remotes") # you may need to install this first remotes::install_github("gongcastro/multilex")
Retrieve data
An example:
ml_connect(google_email = "user@email.com") # authenticate to Google and formr accounts
p <- ml_participants() # retrieve participant data
# get responses
r <- ml_responses(participants = p)
# launch shiny app
ml_app(participants = p, responses = r)
# generate logs
l <- ml_logs(responses = r,
participants = p,
bilingual_threshold = 5,
other_threshold = 10)
# generate vocabulary sizes
v <- ml_vocabulary(participants = p,
responses = r)
# generate norms for items
n <- ml_norms(participants = p,
responses = r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.