Skip to content
Course Notes
Use this workspace to take notes, store code snippets, or build your own interactive cheatsheet! The datasets used in this course are available in the datasets
folder.
# Import any packages you want to use here
# View the whole population dataset
View(spotify_population)
# Sample 1000 rows from spotify_population
spotify_sample <- spotify_population %>%
slice_sample(n = 1000)
# See the result
spotify_sample
Take Notes
Add notes here about the concepts you've learned and code cells with code you want to keep.
Add your notes here
# Add your code snippets here