Description Usage Arguments Value
View source: R/get_timetable_for_variable.R
Extracts a data set for one variable where each row is on region (e.g. NUTS3-region) and each column contains the values for one year.
1 2 3 4 5 6 | get_timetable_for_variable(
VarName,
data = EntrancesData,
NUTS_IDs = "all",
years = c(1990:2020)
)
|
VarName |
character string, with the name of the variable for which we want the time table. Can be left out, if data set contains only values for one variable. |
data |
data frame, from which you want to extract your data. The data frame must contain a column called variable. Default is the EntrancesData data set. |
NUTS_IDs |
numeric vector, containing the IDs of the regions, e.g. NUTS3 IDs. If not defined, all regions contained in the data set are included. |
years |
numeric vector, containing all years of interest. Default is 1990 to 2020. |
dataframe, format: first column NUTS_ID, other columns values for each year
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.