Skip to content

sumtxt/mannheim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mannheim

The R package mannheim provides functions to directly retrieve data from a data archive (GESIS Datenarchiv) maintained by GESIS in Mannheim.

Installation

To install the latest version from Github use:

remotes::install_github("sumtxt/mannheim", force=TRUE)

Usage

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.

Example

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.

Similar and Complementary Packages

About

Client to access the data respository of GESIS in Mannheim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages