So essentially I am working on a project for my undergraduate thesis regarding candidate vote percentage in each South Florida Precinct. Right now the data frame looks something like this
[Precinct][CountyCode][Candidate][VoteTotal]
A101...........BRO................Biden...........408
A101...........BRO................Trump...........330
A101...........BRO................Other.............29
When I would actually prefer to make the data look like this
[Precinct][CountyCode][TrumpVote][BidenVote][OtherVote]
A101...............BRO...............330..............408...............29
Any idea how to make that work?