retrieve_datalist: Retrieves List of Tables from GENESIS Databases

View source: R/retrieve_datalist.R

retrieve_datalistR Documentation

Retrieves List of Tables from GENESIS Databases

Description

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.

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).

Value

a data.frame

See Also

retrieve_data wiesbaden

Examples


 ## Not run: 
 # 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") )
 
## End(Not run)





sumtxt/wiesbaden documentation built on July 19, 2023, 11:47 a.m.