Reproducible Data Retrieval from the ICPSR Archive

Reproducible, programmatic retrieval of datasets from the Inter-university Consortium for Political and Social Research archive.

CRAN version Travis-CI Build Status

icpsrdata is an R package that provides reproducible, programmatic access to datasets stored in the Inter-university Consortium for Political and Social Research archive.

To install:

  • the latest released version: install.packages("icpsrdata")
  • the latest development version:
if (!require(ghit)) install.packages("ghit")

For more details, check out the vignette.


Version 0.3.0

Provides better default for delete_zip argument; corrects documentation.

Version 0.2.0

  1. User-facing revisions
    • Allows, if the needed login information has not been saved in the user's .Rprofile, for this information to be entered interactively; the information is then saved for the duration of the current session
    • Permits users to reset any login information saved for the current session by switching the argument reset to TRUE
    • No longer depends on the Firefox browser
  2. Internal revisions
    • Uses rvest rather than RSelenium to navigate the ICPSR download process
    • Uses purrr::walk rather than a for loop to iterate over multiple file requests

Version 0.1.1

Allows nested directories to be automatically created if necessary when specified using the download_dir argument

Version 0.1.0

First release.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.0 by Frederick Solt, a year ago

Browse source code at

Authors: Frederick Solt [aut, cre], Kellen Gracey [aut], Eric Persson [ctb]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports purrr, rvest, httr

Suggests knitr, rmarkdown

See at CRAN