I have few doubts with subsetting grouping the data.
My actual data format looks like this
month userId usage_count userEmail
January aabzhlxycj 2 jakiyah@academy.com
January aacuvynjwq 1 jack@gmail.com
December aabzhlxycj 2 jakiyah@academy.com
January aailjxciyk 2 maria@gmail.com
December aacuvynjwq 1 jack@gmail.com
I need to convert this above data to this format
UserId userEmail January December
aabzhlxycj jakiyah@academy.com 2 2
aacuvynjwq jack@gmail.com 1 1
aailjxciyk maria@gmail.com 2 0
Can anyone please suggest to get the data in this above format.