get_data_for_variable_and_region: Extracts data for a specific variable and specific NUTS IDs...

Description Usage Arguments Value Examples

View source: R/get_data_for_variable_and_region.R

Description

Extracts data for specific regional IDs (e.g. NUTS IDs) and a specific variable from a data set. Default is the Entrances data set.

Usage

1

Arguments

VarName

character string or vector with character strings with the name(s) of the variable(s).

RegionIDs

vector with character strings of the regional IDs, e.g. NUTS IDs, LAU IDs

data

dataframe, from which you want to extract your data. The data frame must contain a column called variable and the regional IDs in the first column. Default is the EntrancesData data set.

Value

dataframe

Examples

1
2
#extracts data for specific NUTS IDs and a specific variable from a data frame. Default is the EntrancesData data set.
get_data_for_variable_and_region(VarName="GDP_EUR", RegionIDs=c("ITG2C","ITG2B"), data=EntrancesData)

THartl1/EntrancesDataPackage documentation built on Dec. 18, 2021, 4:01 p.m.