I extracted data from sql in R. The data is in a list. I want to find the number of occurrences each value appears in a column of the list. How would I go about doing this? I'm very new to R.
group_by(demo) %>%
summarise(unique_value = n_distinct(column_name))
I tried doing this above and the output was:
unique_value
<int>
5
So there are 5 unique values. How do I determine how many times each unique value appears in the column?