| get_data | R Documentation |
get_data retrieves a data frame with all available values for a variable
get_data(variable, geography, time = NULL)
variable |
variable identifier as character string |
geography |
geography identifier as character string |
time |
time identifier as vector of character strings |
To get a list of available geographies use get_geographies. To
get a list of available variables use get_variables.
The function retrieves all values for all available years by default.
a data.frame with columns Schlüssel (unit identifier),
Raumbezug (geography identifier), Indikator (variable identifier),
Wert (value) and time (year or time period).
get_geographies get_variables get_metadata
# GDP for all districts/all available years
get_data(variable="011", geography="KRE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.