get_epu: Get Economic Policy Uncertainty (EPU) data

Description Usage Arguments Value References See Also Examples

Description

EPU index from the official website while processing the dates and output formats.

Usage

1
get_EPU(region = "all")

Arguments

region

a character indicating the region of the EPU. The default is "all" regions. The region names has to be one of the options in the EPU country list

Value

an xts data object containing the EPU for the chosen region.

References

https://www.policyuncertainty.com/

See Also

xts

Examples

1
2
3
4
5
6
7
8
9
data <- get_EPU()
# it is an xts object so it can be plotted directly
plot(data)
# use dygraphs for interactive ts plot
library(dygraphs)
dygraph(data)
# get country-wise data using specific region name
china_epu <- get_EPU("China")
dygraph(china_epu)

Lingbing/epuR documentation built on May 2, 2020, 1:22 p.m.