I try to have a nive list and sublist of item to display in R (possibly collapsible) as the kind of thing we could have in a pivot table in Excel. Is there a way to do it with the package DT for example?
The final result should look like this table with item and sub items.