JSON and data frames
The elements are not rows, so putting them in a list column before doing unnest_wider()
must happen in a single-row tibble, by using list()
:
df_col <- tibble(x = list(json_col))
df_col
## # A tibble: 1 × 1
## x
## <list>
## 1 <named list [2]>