How to make a table with styles from the sample data using writeXlsx and if possible writeOds?
[
{
"name": "List A",
"list": [
{
"name": "A",
"color": ["red", "yellow", "black"],
"sum": 10
},
{
"name": "A2",
"color": ["green", "grey"],
"sum": 5
}
]
},
{
"name": "List B",
"list": [
{
"name": "B",
"color": ["orange", "black"],
"sum": 5
},
{
"name": "B2",
"color": ["yellow", "white"],
"sum": 15
}
]
}
]
How to make a table with styles from the sample data using writeXlsx and if possible writeOds?