search for: alrgsp

Displaying 1 result from an estimated 1 matches for "alrgsp".

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