search for: stlouisfed

Displaying 2 results from an estimated 2 matches for "stlouisfed".

2013 Jun 10
1
Help with R loop for URL download from FRED to create US time series
I am downloading time series data from FRED. I have a working download, but I do not want to write out the download for all 50 states likes this: IDRGSP <- read.table('http://research.stlouisfed.org/fred2/data/IDRGSP.txt', skip=11, header=TRUE) IDRGSP$DATE <- as.Date(IDRGSP$DATE, '%Y-%m-%d') IDRGSP$SERIES <- 'IDRGSP' IDRGSP$DESC <- "Real Total Gross Domestic Product by State for Idaho, Mil. of, A, NSA, 2012-06-05" WYRGSP <- read.table('http:/...
2008 Dec 16
1
Problem with alignDailySwries in R-metrics
Hi Folks! I seem to be having a problem with alignDailySeries in Rmetrics: DTB6<-fredSeries("DTB6",frequency = "daily",from = "1980-01-01") trying URL ' http://research.stlouisfed.org/fred2/series/DTB6/downloaddata/DTB6.txt' Content type 'text/plain; charset=UTF-8' length 248392 bytes (242 Kb) opened URL downloaded 242 Kb Read 13060 items class(DTB6) [1] "timeSeries" attr(,"package") [1] "fSeries" DTB6<-alignDailySeries(DTB6,...