Skip to contents

retrieve_datalist retrieves a list of available data tables in a series.

Usage

retrieve_datalist(tableseries, genesis = NULL, language = "de", ...)

Arguments

tableseries

name of series for which tables should be retrieved.

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. To retrieve a list of all available data use tableseries="*" or combine the wildcard character * with a prefix (see below for an example).

Examples


 if (FALSE) {
 # Retrieves list of available tables for the table series 14111 
 # which contains the federal election results. 
 # Assumes that user/password are stored via save_credentials()

 d <- retrieve_datalist(tableseries="14111*", genesis=c(db="regio") )
 }