The Roper Center for Public Opinion Research, in its own words, works “to collect, preserve, and disseminate public opinion data; to serve as a resource to help improve the practice of survey research; and to broaden the understanding of public opinion through the use of survey data in the United States and around the world.” It maintains the largest archive of public opinion data in existence, holding data dating back to the 1930s and from over 100 countries. Researchers taking advantage of these datasets, however, are caught in a bind. The terms and conditions for downloading any Roper Center dataset state that datasets “may not be resold or re-disseminated.” But to ensure that one’s work can be reproduced, assessed, and built upon by others, one must provide access to the raw data one employed.
The ropercenter
package cuts this knot by providing programmatic, reproducible access to specified Roper Center datasets from within R for registered users at the Roper Center’s member institutions.
The ropercenter
package interacts with the Roper Center website using the Firefox browser. Get Firefox here. Once you have installed Firefox, to install ropercenter
:
- the latest released version:
install.packages("ropercenter")
- the latest development version:
if (!require(remotes)) install.packages("remotes")
remotes::install_github("fsolt/ropercenter")
For more details, check out the vignette.
Please recall that by using Roper Center services, you accept the Center’s Terms and Conditions.