retrieve_valuelabel {wiesbaden} | R Documentation |
Retrieves Value Labels from GENESIS Databases
Description
retrieve_valuelabel
retrieves value labels for variable
Usage
retrieve_valuelabel(
variablename,
valuelabel = "*",
genesis = NULL,
language = "de",
...
)
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.
Value
a data.frame
.
See Also
Examples
## Not run:
# 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") )
## End(Not run)
[Package wiesbaden version 1.2.10 Index]