Hey Rob,

Thanks for replying but what i see after i run str(tab$list) is that it has
nested data.frame. And for some weird reason Spotfire is discarding and
stating as illegal data type.

On Jan 14, 2017 20:15, "Rob Baer" <[email protected]> wrote:

> I just tried after fixing what I thoug were email wrapping errors and it
> seemed to work:
>
> library(jsonlite)
> dat<- fromJSON('http://api.openweathermap.org/data/2.5/group?id=
> 524901,703448,2643743&units=metric&appid=ec0313a918fa729d4372555ada5fb1f8
> ')
> tab <- dat$list
>
> Avoid the line breaks in your string
>
>
> On 1/14/2017 3:25 AM, Archit Soni wrote:
>
>> library(jsonlite)
>>
>> dat<- fromJSON('
>> http://api.openweathermap.org/data/2.5/group?id=524901,70344
>> 8,2643743&units=metric&appid=ec0313a918fa729d4372555ada5fb1f8
>> ')
>>
>>
>> tab <- dat$list
>>
>
>

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to