The Barcelona Vocabulary Questionnaire (BVQ) is an online tools developed by researchers from the Laboratori de Recerca en Infància at the Universitat Pompeu Fabra (Barcelona, Spain) aimed at assessing the developing mental lexicon of bilingual infants and toddlers living in the Metropolitan Area of Barcelona. The BVQ Shiny app provides a visual inteface to the {bvq} R package to explore the database. This repository contains the data, documentation, and R scripts needed to run the BVQ Shiny app.
- Clone or download this repository:
git clone https://github.com/gongcastro/bvq-app.git
- Open the R console and set this folder as your working directory:
setwd("<path-to-folder/bvq-app")
If you are working from RStudio and have opened a project session clicking bvq-app.proj
this step will not be necessary.
- Restore the R package dependencies using {renv}:
# install.packages("renv")
renv::restore()
- Run {targets} to generate the model inputs and outputs:
targets::tar_make()
This function will run all scripts in the right order, and will produce the files needed to run the Shiny App. Please note that, depending of your setup, running the script may take several hours, mainly due to the computational cost of fitting the Bayesian model. Contact us (@gongcastro) to ask to a copy of the RDS file containing the model.