如何在R中拆分不同的行长列表列值

时间:2017-11-16 06:09:27

标签: r

帮助我如何将列表列值拆分为新数据框R编程语言中的单列值。

select * from temp join new_temp on LOWER(temp.dept) = LOWER(new_temp.dept);

O / P数据框。

ID   AuIndex                                                                                               USER         

1   list(ParentID =c("1011","ZIP"),ChildID=c("765","Valuableuser"))                                             1

2   list(ParentID =c("4002","Dispatch","Paid"),ChildID=c("78678","User"))                                       1  

3   list(ParentID =c("76579","Arrival"),ChildID =c("5345","Low","High"))                                        1

4   list(ParentID =c("29920","Shipped","Ontheway"),ChildID =c("3453","Medium"),SuperChild=c("3534","Budged"))   1

输入数据。

ID  AutoIndex.ParentID          AutoIndex.ChildID         AutoIndex.SuperChild     USER

1   "1011","ZIP"                 "765","Valuableuser"         NULL                  1

2   "4002","Dispatch","Paid"     "78678","User"               NULL                   1

3   "76579","Arrival"            "5345","Low","High"          NULL                   1

4  "29920","Shipped","Ontheway"   "3453","Medium"           "3534","Budged"          1

0 个答案:

没有答案