get_data_for_variable: Extracts data for a specific variable from a data set.

Description Usage Arguments Value Examples

View source: R/get_data_for_variable.R

Description

Extracts data for 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).

data

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

Value

dataframe

Examples

1
2
#extracts data for a specific variable from a data frame. Default is the EntrancesData data set.
get_data_for_variable(VarName="GDP_EUR", data=EntrancesData)

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