title: unest list with nested data frames in R
body: <p>I'm working on parsing out some data from the foursquare api and I have one portion of the results that look like the following, a large list with nested dataframes:</p>
  
  <pre><code>                     List of 1
                        $ :List of 26
                         ..$ :'data.frame':   1 obs. of  6 variables:
                         .. ..$ id        : chr "4bf58dd8d48988d129951735"
                          .. ..$ name      : chr "Train Station"
                           .. ..$ pluralName: chr "Train Stations"
                           .. ..$ shortName : chr "Train Station"
                            .. ..$ icon      :'data.frame':   1 obs. of  2 variables:
                            .. .. ..$ prefix: chr                            "https://ss3.4sqi.net/img/categories_v2/travel/trainstation_"
                    .. .. ..$ suffix: chr ".png"
                    .. ..$ primary   : logi TRUE
                    ..$ :'data.frame':    1 obs. of  6 variables:
                   .. ..$ id        : chr "4bf58dd8d48988d1fe931735"
                     .. ..$ name      : chr "Bus Station"
                    .. ..$ pluralName: chr "Bus Stations"
                   .. ..$ shortName : chr "Bus Station"
                   .. ..$ icon      :'data.frame':    1 obs. of  2 variables:
                    .. .. ..$ prefix: chr      "https://ss3.4sqi.net/img/categories_v2/travel/busstation_"
                    .. .. ..$ suffix: chr ".png"
                    .. ..$ primary   : logi TRUE
                     ..$ :'data.frame':   1 obs. of  6 variables:
  </code></pre>
  
  <p>I'm trying yo unnest these dataframe for certain elements so that i can cbind them to a pre-existing file I have. Ultimately I would like the end result to look something like the following:</p>
  
  <pre><code>                     $id                             $name
                       4bf58dd8d48988d129951735       train station 
                       4bf58dd8d48988d1fe931735       bus station
  </code></pre>
  
  <p>etc.</p>
  
  <p>Thanks!</p>