Take the 2-minute tour ×
Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. It's 100% free, no registration required.

Does anyone know if I can access interest rates series from the treasury using R? I tried yahoo! Finance and it doesn't seem to have this kind of information.

share|improve this question

3 Answers 3

up vote 4 down vote accepted

Quantmod package claims to support downloading data from Federal Reserve Bank of St. Louis Economic database, which contains plenty of rates time series. It should be pretty simple to get them into R using function getSymbols, in the same manner as

getSymbols("DEXJPUS",src="FRED") # FX rates from FRED
share|improve this answer
    
+1 I second this suggestion. –  Joshua Ulrich Nov 28 '12 at 23:06

There are some interest rates accessible through the R package YieldCurve. I don't think they contain the latest available interest rates.

Another alternative is the package FRBData. Using the function GetInterestRates you can download various of the latest interest rates published by the FRB.

share|improve this answer

Try the Fed's H15 series. Daily data is here, with links to historical: http://www.federalreserve.gov/releases/h15/update/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.