I have been trying to group this data frame by county however when I used pivot_wider() for the 2 casualty types, it created 2 rows for every county, I have tried fixing this but am new to R, any help would be appreciatedenter image description here
Asked
Active
Viewed 39 times
0
-
https://stackoverflow.com/questions/58837773/pivot-wider-issue-values-in-values-from-are-not-uniquely-identified-output-w – Julian Apr 26 '22 at 13:19
-
Please provide enough code so others can better understand or reproduce the problem. – Community Apr 26 '22 at 13:48