get_metadata {bonn}R Documentation

Get Metadata for a Variable

Description

get_metadata retrieves the metadata for a single variable

Usage

get_metadata(variable)

Arguments

variable

variable identifier as character string

Details

To get a list of available variables use get_variables.

Value

a data.frame with columns Name (variable name), Kurzname (short name), Algorithmus (information on measurement), Quelle (source) and Anmerkungen (notes).

See Also

get_variables get_data

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

# Metadata for GDP variable
get_metadata("010")

# Reset configuration  
httr::reset_config()



[Package bonn version 1.0.3 Index]