View source: R/retrieve_valuelabel.R
| retrieve_valuelabel | R Documentation | 
retrieve_valuelabel retrieves value labels for variable
retrieve_valuelabel(
  variablename,
  valuelabel = "*",
  genesis = NULL,
  language = "de",
  ...
)
| 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. | 
See the package description (wiesbaden) for details about setting the login and database.
a data.frame.
retrieve_datalist wiesbaden
 ## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.