Re: [R] Convert json data to an r dataframe

2012-12-28 Thread sp.duccio
------- > Sent from my phone. Please excuse my brevity. > > "sp.duccio" wrote: > > >Thank you very much, Rui! > > > >The problem with your script is that data is now in a string format, > >while > >I need to obtain a data.frame inst

Re: [R] Convert json data to an r dataframe

2012-12-28 Thread sp.duccio
][[1]]) > dat[[1]][[1]] > > str(dat[[1]][[2]]) > unlist(dat[[1]][[2]]) > > str(dat[[1]][[3]]) > dat[[1]][[3]] > > > Hope this helps, > > Rui Barradas > Em 27-12-2012 11:55, sp.duccio escreveu: > > Hello to everybody, > > I need to convert a json datas

[R] Convert json data to an r dataframe

2012-12-27 Thread sp.duccio
Hello to everybody, I need to convert a json dataset in an R dataframe. I suppose that I'd need to use rjson or rjsonio package. The json dataset is: http://apistat.istat.it/?q=getdatajson&dataset=DCIS_POPSTRBIL&dim=1,0,0,0&lang=1&tr=&te= It would be nice if someone can help me to create a functio