get_values_of_variable: Returns values of variables from db

get_values_of_variableR Documentation

Returns values of variables from db

Description

Returns values of variables from db

Usage

get_values_of_variable(db, country, variable)

Arguments

db

Database from which values should be extracted

country

Country for which values should be extracted

variable

Variable for which values should be extracted

Value

Vector with values in the database. Issues a warning if the number of rows in this table are 0.

Examples

download_clean_save_bp()
bp_db<-load_db(get_bp_db_files()[1])
db_get_values_of_variables(bp_db, "Austria", "Oil - Refining capacity")

inwe-boku/irenabpdata documentation built on April 1, 2022, 11:55 p.m.