Importing Business Climate Index from IFO

April 8, 2014
By

(This article was first published on Copula, and kindly contributed to R-bloggers)

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)
}

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



To leave a comment for the author, please follow the link and comment on his blog: Copula.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.