Retrieves Value Labels from GENESIS Databases
Source:R/retrieve_valuelabel.R
retrieve_valuelabel.Rd
retrieve_valuelabel
retrieves value labels for variable
Arguments
- variablename
name of the variable
- valuelabel
"*" (default) retrieves all value labels.
- genesis
to authenticate a user and set the database (see below).
- language
retrieve information in German "de" (default) or in English "en" if available.
- ...
other arguments send to the httr::GET request.
Details
See the package description (wiesbaden
) for details about setting the login and database.
Examples
if (FALSE) {
# Value labels contain for the variable 'PART04' in the table with the
# federal election results on the county level.
# Assumes that user/password are stored via save_credentials()
metadata <- retrieve_valuelabel(variablename="PART04", genesis=c(db="regio") )
}