An R client for the Political Science Replication Index, a searchable, tagged index of replication packages crawled monthly from 34 flagship political science journals' Harvard Dataverse collections.
Installation
# install.packages("pak") pak::pak("jsakowuah/psreplicate")
Usage
library(psreplicate) # search by free text, journal, method, data type, and/or year search_replications(query = "regression discontinuity", journal = "AJPS") search_replications(method = "Survey Experiment", year = 2020:2024) # see what's covered list_journals() # force a re-download of the index (otherwise it auto-refreshes daily) refresh_index(force = TRUE)
The index is downloaded once and cached in a per-user cache directory
(tools::R_user_dir("psreplicate", "cache")), so repeated calls to
search_replications() and list_journals() don't need network access.