get_GPR: Get Geopolitical Risk Index (GPR) data

Description Usage Arguments Value References See Also Examples

View source: R/funs.R

Description

Get Geopolitical Risk Index (GPR) data

Usage

1

Arguments

type

a numeric indicating the type. 1 for quarterly GRI, 2 for GPRH, 3 for GPR of countries, and 4 for GPR words.

Value

an xts data object

References

https://www.matteoiacoviello.com/gpr.htm

See Also

xts

Examples

1
2
gpr <- get_GPR(1)
plot(gpr$GPR)

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