Learn R Programming

bonn (version 1.0.3)

get_variables: Get Available Variables

Description

get_variables retrieves a data frame with available variables

Usage

get_variables(theme, geography)

Value

a data.frame with columns KurznamePlus (variable name), Bereich (theme identifier), Gruppe (variable identifier), BU, EU, Zeitreihe (all three unknown).

Arguments

theme

theme as character string

geography

geography as character string

Details

To get a list of available geographies use get_geographies. To get a list of available themes use get_themes.

See Also

get_geographies get_themes

Examples

Run this code

# The SSL vertification seems to fail for some Linux systems. 
# This is likely because of a SSL certificate issue on the INKAR server. 
# Disabling SSL verification comes with risks: 
# https://curl.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html
httr::set_config(httr::config(ssl_verifypeer = 0L))

# Retrieves list of available variables in the  
# theme "unemployment" for districts 
get_variables(theme="011", geography="KRE")

# Reset configuration  
httr::reset_config()



Run the code above in your browser using DataLab