An R-package for obtaining real-time data from ALFRED database
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R vignettes updated Feb 20, 2018
inst/doc vignettes updated Feb 20, 2018
man vignettes updated Feb 20, 2018
tests Test fixed Apr 6, 2018
vignettes vignettes updated Feb 20, 2018
.Rbuildignore readme.md excluded from buildignore Jun 9, 2017
.gitignore vignettes updated Feb 20, 2018
.travis.yml added coverage test Jun 7, 2017
DESCRIPTION Test fixed Apr 6, 2018
LICENSE fixed license Jun 6, 2017
License.md fixed license Jun 6, 2017
NAMESPACE jsonlite instead of xml Sep 22, 2017
NEWS.md Test fixed Apr 6, 2018
README.md copy sign Jun 19, 2018
alfed.Rproj nothing special May 12, 2017
cran-comments.md Test fixed Apr 6, 2018

README.md

CRAN_Status_Badge Travis-CI Build Status Coverage Status License: MIT Downloads

alfred

An R-package for obtaining vintage data from ALFRED: https://alfred.stlouisfed.org. Note that this product uses the FRED© API but is not endorsed or certified by the Federal Reserve Bank of St. Louis.

Highlights

Usage

A more detailed example can be found in my vignette: https://cran.r-project.org/web/packages/alfred/vignettes/alfred.html

library(alfred)
# Download industrial production index releases from March 2015 for 2013.
get_alfred_series("INDPRO", "test",
                  observation_start = "2013-03-01", observation_end = "2013-03-30",
                  realtime_start = "2015-02-02", realtime_end = "2015-02-02")
# Wrapper for getting only most recent releases 
get_fred_series("INDPRO", "indpro", observation_start = "2009-03-01", observation_end = "2009-03-01")

Installation

Development version (GitHub):

#install.packages("devtools")
library(devtools)
install_github("onnokleen/alfred")

Terms of use

When using the FRED© API, you are agreeing to be bound by the FRED© API Terms of Use, see https://research.stlouisfed.org/docs/api/terms_of_use.html.

History

  • 06.03.2018: Test fixed
  • 20.02.2018: Re-added vignette
  • 08.10.2017: Bug-fixes
  • 23.09.2017: Performance improvements
  • 10.06.2017: Bug fixes
  • 08.06.2017: First release on CRAN