Posted 8 May 2023, 12:27 am EST
I have a dataset like
{
state: “OH”
country: “US”
Rider: True,
Trainer: False,
Owner: False
}
I want to show results like this
United States Rider Trainer Owner
OH 21 2 3
NY 2 4 43
Total 23 6 46
United Kingdon
London…
and so on…
Is there any generic functions that I can use?
Any recommendations would be helpful, thanks.