Description Usage Arguments Details Value Examples
Download a Gesis data set
1 2 | download_dataset(s, doi, path = ".", filetype = ".dta", purpose = 1,
quiet = FALSE)
|
s |
A session object created with login() |
doi |
The unique identifier(s) for the data set(s) |
path |
Directory to which to download the file |
filetype |
The filetype to download (usually available: .dta/.por/.sav) |
purpose |
The purpose for downloading the data. See details. |
quiet |
Whether to output download message. |
Datasets reposited with GESIS are uniquely identified with a numberic identifier called a "DOI". This identifier appears both in the URL for a dataset's website, and on the website itself.
In addition to accepting the terms of use, you need to input a purpose for downloading a data set. The options are as follows:
1. for scientific research (incl. PhD) 2. for reserach with commercial mandate 3. for teaching as lecturer 4. for my academic studies 5. for my final exam (e.g. bachelor or master) 6. for professional training and qualification
Nothing
1 2 3 | ## Not run: s <- login("my_gesis_username", "my_gesis_password")
download_dataset(s, doi = "0078")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.