This R package can be used to retrieve data from the Saint Louis Federal Reserve Economic Database FRED database.
To cite the SLFRED package in publications, use:
Graeme Walsh (2018). SLFRED R package version 0.1.0.
To install the package, use the devtools package as follows:
install.packages("devtools")
library(devtools)
install_github(repo="xprimexinverse/SLFRED")
Begin by loading the package and reading some of the man pages:
library(SLFRED)
?SLFRED
?getSLFRED
?getSLFRED2
# Example 1
DEXUSEU <- getSLFRED("DEXUSEU")
class(DEXUSEU)
# Example 2
DEXUSEU2 <- getSLFRED2("DEXUSEU")
class(DEXUSEU2)
Please contact me at graeme.walsh@centralbank.ie or graeme.walsh@hotmail.co.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.