[R] Data read as labels

barb mainzel89 at hotmail.com
Mon May 14 11:33:54 CEST 2012


Hey guys,

i have a strange problem reading a .csv file. 
Seems not to be covered by the usual read.csv techniques. 

The relevant data i want to use, seems to be saved as the label of the data
point. 
Therefore i can not really use it


spec<-"EU2001"
part1<-"http://www.bundesbank.de/statistik/statistik_zeitreihen_download.php?func=directcsv&from=&until=&filename=bbk_"
part2<-"&csvformat=de&euro=mixed&tr="
tmp<-tempfile()
load<-paste(part1,spec,part2,spec,sep="")
download.file(load,tmp)
file<-read.csv(tmp,sep=";",dec=",", skip="5")
(relevant<-file[,2][1])




Thanks a lot for your help and your time!
Regards

--
View this message in context: http://r.789695.n4.nabble.com/Data-read-as-labels-tp4629901.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list