get_variables
retrieves a data frame with available variables
Value
a data.frame
with columns KurznamePlus
(variable name), Bereich
(theme identifier),
Gruppe
(variable identifier), BU
, EU
, Zeitreihe
(all three unknown).
Details
To get a list of available geographies use get_geographies
. To
get a list of available themes use 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")
#> KurznamePlus Bereich Gruppe BU EU Zeitreihe
#> 1 Arbeitslosenquote 011 12 KRE 24
#> 2 Arbeitslosenquote Frauen 011 13 KRE 15
#> 3 Arbeitslosenquote Männer 011 14 KRE 15
#> 4 Arbeitslose Frauen 011 15 KRE 28
#> 5 Arbeitslose Männer 011 16 KRE 28
# Reset configuration
httr::reset_config()