Learn R Programming

Financial Stress Index Data

The R package stressr provides convenient access to the financial stress index and components data provided by the Federal Reserve Bank of Cleveland. The package provides data download functions and some representative plots along the same categories as provided by the bank. See the FRB's terms of use regarding these data.

As a simple example of gathering data and drawing simple plots consider the R code

require(stressr)
require(lattice)
idx <- getStressIndex()
stressIndexChart(idx,"2007/")

Several examples of plots are shown by category below. For details on each query and more example plots, please see the package vignette.

Index Report

Summary Report

Securitization Markets

Real Estate Markets

Funding Markets

Foreign Exchange Markets

Equitiy Markets

Credit Markets

Index Components

References

Copy Link

Version

Install

install.packages('stressr')

Monthly Downloads

158

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Matt Barry

Last Published

June 30th, 2014

Functions in stressr (1.0.0)

getRealEstateMarkets

Get foreign exchange markets stress components
getCreditMarkets

Get credit markets stress components
stressIndexChart

Financial stress index data line chart with regions.
getForeignExchangeMarkets

Get foreign exchange markets stress components
xyplot.cfsi

Financial stress index component data xyplot
getSecuritizationMarkets

Get securitization markets stress components
stressLineChart

Financial stress component data as an unstacked line chart.
stressr

Financial stress index component data.
getStressComponents

Get financial stress index component data.
stressAreaChart

Financial stress component data as a stacked area chart.
getStressIndex

Get financial stress index data.
getFundingMarkets

Get funding markets stress components
getEquityMarkets

Get equity markets stress components
getComponentSummary

Get stress components summary
xyplot.stress

Financial stress index component data xyplot