get_per_capita_values: Returns per capita value of either IRENA or BP database

get_per_capita_valuesR Documentation

Returns per capita value of either IRENA or BP database

Description

Returns per capita value of either IRENA or BP database

Usage

get_per_capita_values(db, db_type)

Arguments

db

IRENA or BP Database

db_type

Indicates if this is Irena or BP Database (Put "Irena" or "BP")

Value

A tibble with per capita values of variables in database

Examples

download_clean_save_bp()
bp_db<-load_db(get_bp_db_files()[1])
get_per_capita_values(bp_db, "BP")

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