Skip to content

Unnesting JSON using R

3 messages · Fred Kwebiha, David Winsemius, William Michels

#
Source=https://jsonformatter.org/e038ec

The above is nested json.

I want the output to be as below
dataElements.name,dataElements.id,categoryOptionCombos.name,categoryOptionCombos.id

Any help in r?
*Best Regards,*

*FRED KWEBIHA*
*+256-782-746-154*
#
Cross-posting is deprecated on r-help. Please don't do it again.


And it was already answered on StackOverflow.
1 day later
#
Hi Fred, I believe the preferred package is jsonlite:

https://cran.r-project.org/package=jsonlite
https://jeroen.cran.dev/jsonlite/index.html

HTH, Bill.

W. Michels, Ph.D.
On Tue, Sep 15, 2020 at 1:48 PM Fred Kwebiha <kwebihaf at gmail.com> wrote: