How do you converting an uneven json file into tidy data? Here I have an uneven json file, and I'd like to change into tidy data.
library(tidyverse)
library(jsonlite)
read_json("https://api.osf.io/v2/search/?q=*&page=100&format=jsonapi") %>%
as_tibble()
#> Error: Tibble columns must have compatible sizes.
#> * Size 5: Column `links`.
#> * Size 6: Column `search_fields`.
#> * Size 10: Column `data`.
#> ℹ Only values of size one are recycled.