The R package mannheim provides functions to directly retrieve data
from a data archive (GESIS
Datenarchiv)
maintained by GESIS in Mannheim.
To install the latest version from Github use:
remotes::install_github("sumtxt/mannheim", force=TRUE)To retrieve data, you need to register as a user
here
and accept the terms and
conditions.
After the registration, save your credentials using the package function
gesis_credentials. This package relies on the
keyring package to store and
retrieve credentials. To download data use gesis_download_data.
To download the first Eurobarometer data file (ZA0078: Attitudes towards Europe, 1962) use
gesis_download_data(
za="ZA0078",
purpose="scientific_research")The function saves the dta file in the working directory by default. To
switch the file type, use the type argument. To define the file name
and file path, use file. To load the dta file, use the package
haven.
-
This package has simliar functionality the R package
gesisgithub.com/expersso/gesis which is unmaintained and not working as GESIS changed the login and data retrieval API -
This package is different from the R package
gesisdatagithub.com/fsolt/gesisdata which uses web browser automation viaRSeleniumgithub.com/ropensci/RSelenium to download data from GESIS