msb3_output: External sector and macroeconomic indicators: aggregate...

msb3_outputR Documentation

External sector and macroeconomic indicators: aggregate output

Description

External sector and macroeconomic indicators: aggregate output

Usage

get_aggregate_output(year = NULL, metric = "gdp", output_by = "expenditure")

Arguments

year

Scalar integer

metric

One of "gdp", "gni"

output_by

One of "expenditure", "activity"

Value

nested list with "amt" and "change". Different base rates are nested within.

Examples

# we retrieve GDP by expenditure by default 
res <- get_aggregate_output()

# result is a nested list
str(res)

# to get change at 2000 prices run the following: 
res$change$base_2000 

philip-khor/bnmr documentation built on Nov. 23, 2023, 6:59 a.m.