Should create a new column, "nested.array", which identifies which rows have nested arrays.
Should be somewhat similar to this, but not get tripped up on strictly nested objects. Goal is to find the structures that cannot be simply expanded using spread_all.
companies %>% gather_object %>% json_types %>% json_complexity %>% filter(complexity > 1) %>% count(name, type)
#> Source: local data frame [16 x 3]
#> Groups: name [?]
#>
#> name type n
#> <chr> <fctr> <int>
#> 1 acquisition object 149
#> 2 acquisitions array 84
#> 3 competitions array 221
#> 4 external_links array 214
#> 5 funding_rounds array 322
#> ...
Should create a new column, "nested.array", which identifies which rows have nested arrays.
Should be somewhat similar to this, but not get tripped up on strictly nested objects. Goal is to find the structures that cannot be simply expanded using
spread_all
.