Skip to content
Back to formatted view

Raw Message

Message-ID: <1943347829.1115355.1541444435241@mail.yahoo.com>
Date: 2018-11-05T19:00:35Z
From: Jeff Reichman
Subject: Importing JSON Files

r-help Forum

Struggling with importing and creating a data.fram from a JSON file.  I used the jsonlite package (fromJSON function) and I can see the resulting table but one of the attributes is a list (of lists) So I have something that looks like .....

favorites (attribute)
list(favoriteValue = c("12345", 23456"), resourceType = c("abc", "def"), classification = c("xxx","yyy"))

So when I attempt to create a data.frame R errors out.  I'm assuming it is because of the list(s).  Don't know what to do with it (the list).  I need the "favoriteValue (s)."

Ultimate I want to run the arules package

Jeff Reichman