get_data {bonn}R 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")






[Package bonn version 1.0.2 Index]