trying to group data

it appears that there is an error in the code related to the summarize() function. Specifically, the error message indicates that there is a problem with the vec_proxy_compare()

country_counts <- data %>%
group_by(country) %>%
summarize(total= n(), .groups="drop_last") %>%

Please post a sample of your data. You can do this by posting the output of the dput function.


Place a line with three back ticks just before and after the output, like this
output of dput() goes here

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.