7
In the code below the dates are in the format: Mes Dia Ano. I need R to recognize the variable as date.
#importa os dados
library(XML)
u<-"http://espnfc.com/team/fixtures/_/id/205/season/2012/brazil?cc=3888"
tab<-readHTMLTable(u,header=T,skip.rows=1)
dados<-tab[[1]]
#Cria a variavel data
ano=2012
dados$DataAno<-paste(dados$Date,ano)