msb3_output | R Documentation |
External sector and macroeconomic indicators: aggregate output
get_aggregate_output(year = NULL, metric = "gdp", output_by = "expenditure")
year |
Scalar integer |
metric |
One of "gdp", "gni" |
output_by |
One of "expenditure", "activity" |
nested list with "amt" and "change". Different base rates are nested within.
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.