Honestly, I gave up and just use Python for nested JSON. `pandas.json_normalize()` is *chef’s kiss*.
But if you’re R-only, `purrr` + `tidyr::unnest()` is your best bet.
Here’s a tutorial I used: [https://r4ds.had.co.nz/iteration.html](h...tion.html).
But if you’re R-only, `purrr` + `tidyr::unnest()` is your best bet.
Here’s a tutorial I used: [https://r4ds.had.co.nz/iteration.html](h...tion.html).
