Reproducible, programmatic retrieval of datasets from the Roper Center data archive. The Roper Center for Public Opinion Research < https://ropercenter.cornell.edu> maintains the largest archive of public opinion data in existence, but researchers using these datasets are caught in a bind. The Center's terms and conditions bar redistribution of downloaded datasets, 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 registered users with programmatic, reproducible access to Roper Center datasets from within R.
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.
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.
read_ascii()function for extracting data from Roper Center ASCII files.
download_roper()now correctly downloads an ASCII-formatted file if there is no SPSS-formatted file available.