Data Access - Redivis
If you are not using R, you can read the tables directly from peekbank on Redivis, or browse and query them there in the browser.
Versions
Section titled “Versions”Every Redivis version of the dataset holds one Peekbank release, named in its release_info table.
Which Redivis version holds which release
| Release | Redivis version |
|---|---|
| 2026.2 | v2.1 |
| 2026.1 | v1.4 |
| 2025.2 | v1.3 |
| 2025.1 | v1.2 |
| 2022.1 | v1.1 |
| 2021.1 | v1.0 |
| 2021.0 | v2.0 |
Clients
Section titled “Clients”Reading a table with the Python client:
import redivis # uv add redivis
table = (
redivis.organization("datapages")
.dataset("peekbank:a3v0", version="v2.1")
.table("administrations")
)
df = table.to_pandas_dataframe()Authentication uses a REDIVIS_API_TOKEN environment variable. For queries and the JavaScript client, see the Redivis client documentation.
Differences to peekbankr
peekbankr reshapes some of the Redivis tables before handing them out, creating minor differences to what you would get with direct access:
- peekbankr fetches the
aoi_timepointstable in the compressed run-length encoding. Accessing the raw table via the Redivis client is a larger transfer, so either run your queries on Redivis before fetching or pullaoi_timepoints_rledirectly and expand the table yourself. - peekbankr adds a
dataset_namecolumn toadministrations,subjects,trials,trial_typesandstimuli. trials.excludedandtrial_types.vanilla_trialare 0/1 on Redivis, while peekbankr transforms them to TRUE/FALSE.