I'm trying to split this list into a long form dataframe
list_a <- list(`Blue Banana` = 8.7, `Green Strawberry` = 2.3,
`Blue Squash` = 3.5, `Orange Cherry` = 4.5)
such that the first column includes the first word in the name of all items in the list (Orange, Blue, Green) and the second column has the second word in the name (Banana, Cherry, Strawberry, Squash). Then the 3rd column will have the values matched. The dataframe should look like this with these column names
Color Fruit value
Blue Banana 8.7
Green Strawberry 2.3
Blue Squash 3.5
Orange Cherry 4.5