Math Camp for Harvard Kennedy School MPA/ID 2022.
Topics covered include:
- Installing and using R, RStudio, RMarkdown, and R Packages.
- Reading and manipulating datasets (
read_csv()
,read_rds()
,dplyr
functions, etc.). - Functions in base R (e.g.
unique()
,table()
,mean()
, etc.). - Introduction to
dplyr
(group-level statistics withgroup_by()
andsummarise()
). - Data visualization with
ggplot2
. - Merging information from multiple datasets (
inner_join()
,left_join()
,full_join()
,right_join()
.) - Creating tables with
gt
. - Practice [creating tables]{.underline} in R with
gt
. - Reading documentation and troubleshooting.
- Creating maps with
sf
.