get_variables {bonn}R Documentation

Get Available Variables

Description

get_variables retrieves a data frame with available variables

Usage

get_variables(theme, geography)

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.

Value

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

See Also

get_geographies get_themes

Examples


# 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()




[Package bonn version 1.0.3 Index]