[R] JSON to Dataframe
bob at rud.is
Tue Oct 18 13:58:40 CEST 2016
If those are in "ndjson" files or are indeed single records, `ndjson`
functions will be a few orders of magnitude faster and will produce
perfectly "flat" data frames. It's not intended to be a replacement
for `jsonlite` (a.k.a. the quintessential JSON pkg for R) but it's
tailor made for making quick work of (potentially deeply nested)
On Tue, Oct 18, 2016 at 7:49 AM, K. Elo <maillists at pp.inet.fi> wrote:
> 18.10.2016, 14:38, Abhinaba Roy wrote:
>> Hi R helpers,
>> I have json inputs from an app which I want to convert to dataframes.
>> are the two inputs. Can someone help me in converting these to dataframes
> IMHO, the best way is to use the package 'jsonlite', see:
> * https://cran.r-project.org/web/packages/jsonlite/index.html
> A good documentation comes with the package, but the links listed on the
> CRAN site provide useful information, too.
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help