Re: [R] Importing JSON Files

2018-11-06 Thread Jeff Reichman
Kimmo Didn't perform exactly how I wanted but got me looking in the right area. Thank you Jeff -Original Message- From: R-help On Behalf Of K. Elo Sent: Monday, November 5, 2018 1:14 PM To: r-help@r-project.org Subject: Re: [R] Importing JSON Files Hi! Have you tried to use 

Re: [R] Importing JSON Files

2018-11-05 Thread K. Elo
Hi! Have you tried to use 'fromJSON' with the parameter 'simplifyDataFrame' set to TRUE? See: https://cran.r-project.org/web/packages/jsonlite/vignettes/json-aaquickstart.html -> Section "Data Frames" explains how this affects the data frame structure. IMHO this should solve your problem... Be

[R] Importing JSON Files

2018-11-05 Thread JEFFERY REICHMAN
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