title: Trying to convert nested sublist into a data frame
body: <p>I have a list that is a few levels deep:</p>
  
  <pre><code>[[12]]
  [[12]][[1]]
                    estimateName                    insuredName                      priceList 
          "KING"                 "IDIF8X_MAY18" 
                        laborEff                    claimNumber                   policyNumber 
   "Restoration/Service/Remodel"                 "000000-01"               "0000000" 
                      typeOfLoss                     roofDamage                        deprMat 
                          "Hail"                            "0"                            "1" 
                      deprNonMat                      deprOandP                      deprTaxes 
                             "1"                            "1"                            "1" 
                          onsite            recipientsXNAddress                      carrierId 
                             "1"              "CO"                      "00000" 
                    estimateType 
                         "Mixed" 
  
  [[12]][[2]]
                                         type                                     lineNum 
                                          "I"                                        "12" 
                                          cat                                         sel 
                                        "SFG"                                      "GUTA" 
                                          act                                   actPrefix 
                                          "&amp;"                                       "R&amp;R" 
                                     "1" 
  
  
  [[13]]
  [[13]][[1]]
                    eName                    iName                      priceList 
          "KING"                 "MAY18" 
                        laborEff                    claimNumber                   policyNumber 
   "Restoration/Service/Remodel"                 "00000-01"               "000000000" 
                      typeOfLoss                     roofDamage                        deprMat 
                          "Hail"                            "0"                            "1" 
                      deprNonMat                      deprOandP                      deprTaxes 
                             "1"                            "1"                            "1" 
                          onsite            recipientsXNAddress                      carrierId 
                             "1"              "MRP.BRIGHTON.CO"                      "2570112" 
                    estimateType 
                         "Mixed" 
  
  [[13]][[2]]
                                          type                                      lineNum 
                                           "I"                                         "13" 
                                           cat                                          sel 
                                         "FEN"                                      "VNLS6" 
                                           act                                    actPrefix 
                                           "&amp;"                                        "R&amp;R" 
  </code></pre>
  
  <p>This is just a sample. I just was to create a data frame that will convert the attributes as the header and all the rows are the values for the. I tried to unlist and a few other functions but wasn't giving me the correct format. </p>
  
  <p>So a desired output would be two rows of values with the column names.</p>
  
  <pre><code>list(list(structure(c("DARIAN_KING_&amp;_CASSI1", "DARIAN KING &amp; CASSIDY R KING", 
  "IDIF8X_MAY18", "Restoration/Service/Remodel", "037262569-01", 
  "H3726819012070", "Hail", "0", "1", "1", "1", "1", "1", "MRP.BRIGHTON.CO", 
  "2570112", "Mixed"), .Names = c("estimateName", "insuredName", 
  "priceList", "laborEff", "claimNumber", "policyNumber", "typeOfLoss", 
  "roofDamage", "deprMat", "deprNonMat", "deprOandP", "deprTaxes", 
  "onsite", "recipientsXNAddress", "carrierId", "estimateType")), 
      structure(c("I", "12", "SFG", "GUTA", "&amp;", "R&amp;R", "Gutter / downspout - aluminum - up to 5\"", 
      "12", "12", "LF", "Dwelling", "0.32", "4.23", "54.6", "36.33", 
      "2", "1", "9", "25", "18.27", "1.49", "37.28", "18.81", "56.09", 
      "1", "29.76", "10.08", "6.36", "13.32", "0.58", "24.84", 
      "1"), .Names = c("type", "lineNum", "cat", "sel", "act", 
      "actPrefix", "desc", "calc", "qty", "unit", "coverageName", 
      "remove", "replace", "total", "acv", "deprType", "recoverable", 
      "age", "lifeExp", "depr", "tax", "acvTotal", "deprTotal", 
      "rcvTotal", "isPartOfInitSettle", "laborTotal", "laborBase", 
      "laborBurden", "laborMarkup", "laborHours", "material", "containsBSCDontApply"
      ))), list(structure(c("DARIAN_KING_&amp;_CASSI1", "DARIAN KING &amp; CASSIDY R KING", 
  "IDIF8X_MAY18", "Restoration/Service/Remodel", "037262569-01", 
  "H3726819012070", "Hail", "0", "1", "1", "1", "1", "1", "MRP.BRIGHTON.CO", 
  "2570112", "Mixed"), .Names = c("estimateName", "insuredName", 
  "priceList", "laborEff", "claimNumber", "policyNumber", "typeOfLoss", 
  "roofDamage", "deprMat", "deprNonMat", "deprOandP", "deprTaxes", 
  "onsite", "recipientsXNAddress", "carrierId", "estimateType")), 
      structure(c("I", "13", "FEN", "VNLS6", "&amp;", "R&amp;R", "Vinyl (PVC) fence, 5'- 6' high - full slat", 
      "8*3", "24", "LF", "Other Structures", "4.01", "27.71", "761.28", 
      "721.38", "2", "9", "150", "39.9", "29.61", "749.21", "41.68", 
      "790.89", "1", "267.84", "141.36", "80.64", "45.84", "9.1", 
      "493.44", "1"), .Names = c("type", "lineNum", "cat", "sel", 
      "act", "actPrefix", "desc", "calc", "qty", "unit", "coverageName", 
      "remove", "replace", "total", "acv", "deprType", "age", "lifeExp", 
      "depr", "tax", "acvTotal", "deprTotal", "rcvTotal", "isPartOfInitSettle", 
      "laborTotal", "laborBase", "laborBurden", "laborMarkup", 
      "laborHours", "material", "containsBSCDontApply"))))
  </code></pre>