title: JSON file to wide format in R
body: <p>Is there a way to unnest wider a JSON file without having to know every aspect of the structure? I've <a href="https://stackoverflow.com/questions/72052655/unnest-unlist-column-with-variable-lengths-in-r?noredirect=1#comment127523702_72052655">asked and received an answer</a>, but when trying with what I thought would be the same JSON structure I am running into issues.</p>
  <p>My dput output is too large for here (I've tried to capture enough of the variability of the lists generated), so I've just put into a google doc that can be found <a href="https://docs.google.com/document/d/152x8oLhusUog5Wo8LGvejqk7F_uhbXelgPtiGHoC3gg/edit?usp=sharing" rel="nofollow noreferrer">here</a>.</p>
  <p>This seems to start the process off...</p>
  <pre><code>wide_df &lt;- json_df %&gt;% 
    map_if(is.data.frame, list) %&gt;% 
    as.data.frame()
  </code></pre>
  <p>...but I'm stuck how to unnest <code>tagEvents.tagResource</code> and <code>tagEvents.tagAttributes</code></p>