Skip to content

gongcastro/bvq-app

Repository files navigation

bvq-app

R-CMD-check Codecov test coverage Lifecycle: experimental GitHub issues

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.

Running the app

  1. Clone or download this repository:
git clone https://github.com/gongcastro/bvq-app.git
  1. 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.

  1. Restore the R package dependencies using {renv}:
# install.packages("renv")
renv::restore()
  1. 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.

About

Shiny App for the Barcelona Vocabulary Questionnaire (BVQ).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published