retrieve_valuelabel retrieves value labels for variable

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.

Value

a data.frame.

Details

See the package description (wiesbaden) for details about setting the login and database.

See also

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") ) }