Description Usage Arguments Value Examples
View source: R/get_data_for_variable_and_region.R
Extracts data for specific regional IDs (e.g. NUTS IDs) and a specific variable from a data set. Default is the Entrances data set.
1 | get_data_for_variable_and_region(VarName, RegionIDs, data = EntrancesData)
|
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. |
dataframe
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.