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

2012-12-28 Thread sp.duccio
Sorry, I really didn't want to push anyone to make my work. Sorry if my words sounded like that. I appreciated your help very much. Thank you D. 2012/12/28 Jeff Newmiller > It really seems to me that what you ought to be doing is carefully > studying the code provided at the lamages link that

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

2012-12-28 Thread Jeff Newmiller
It really seems to me that what you ought to be doing is carefully studying the code provided at the lamages link that you referenced until you can modify it to do what you want. It really isn't fair for you to ask people to do your thinking for you. This is the R-help mailing list, not R-do-my-

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

2012-12-28 Thread sp.duccio
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 instead. Do you really think that I cannot do anything else with this json data? Thank you very much again Duccio 2012/12/27 Rui Barradas > Hello, > > Your datas

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

2012-12-27 Thread Rui Barradas
Hello, Your dataset is not in tabular form, so I find it difficult to transform it into a data.frame, but you can see it in R with the following. install.packages("RJSONIO", dependencies = TRUE) library(RJSONIO) url <- "http://apistat.istat.it/?q=getdatajson&dataset=DCIS_POPSTRBIL&dim=1,0,0,0

[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