The peekbankr package allows you to access data in peekbank from R. This removes the need to write complex SQL queries in order to get the information you want from the database. The package vignette provides some examples of how to use the data loading functions and what the resulting data look like.

### Install peekbankr from GitHub:

# install.packages("remotes")
remotes::install_github("langcog/peekbankr")

### Usage

Here’s a simple workflow for using peekbankr to get data from a single study.

library(tidyverse)
library(peekbankr)

aoi_timepoints <- get_aoi_timepoints(dataset_name = "pomper_saffran_2016")
left_join(administrations)