Importing Business Climate Index from IFO

CESifo Group in Munich is publishing a couple of very good articles covering the EU Region.

In a most recent research I'm trying to use the monthly Business Climate Index from ifo as a layer to trigger further trading activities in R.



Here are further Details about the index Business Climate Index

First we need to import the monthly Data in R.

I'm using the following function to create the object and convert the date to something useable.

#-------------------------------------------------
loadifo<-function(){
a=read.table("ifo.csv",sep = ",",dec = ",")
a$date = paste(substr(a$V1,5,8),substr(a$V1,2,3),"01",sep="-")
ifo=a$date
ifo=cbind(ifo,a$V2)
colnames(ifo, do.NULL = FALSE)
colnames(ifo) <-c("date","klima")
rm(a)
return(ifo)
}

#-------------------------------------------------



No comments :

Post a Comment

Further Readings