Skip to content

Data Manipulation with dplyr

Run the hidden code cell below to import the data used in this course.


1 hidden cell

Take Notes

Add notes about the concepts you've learned and code cells with code you want to keep.

Find number of counties per state, weighted by citizens, sorted in descending order

counties_selected %>% count(state, wt = citizens, sort = TRUE)

# Add your code snippets here