get_data: Get Data

View source: R/get_data.R

get_dataR Documentation

Get Data

Description

get_data retrieves a data frame with all available values for a variable

Usage

get_data(variable, geography, time = NULL)

Arguments

variable

variable identifier as character string

geography

geography identifier as character string

time

time identifier as vector of character strings

Details

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.

Value

a data.frame with columns Schlüssel (unit identifier), Raumbezug (geography identifier), Indikator (variable identifier), Wert (value) and time (year or time period).

See Also

get_geographies get_variables get_metadata

Examples


	# GDP for all districts/all available years
 get_data(variable="011", geography="KRE")






bonn documentation built on March 31, 2023, 11:48 p.m.