MP223 - Applied Econometrics Methods for the Social Sciences
Eduard Bukin
Image source: R4DS
Image source: R4DS
Follow slides, videos and exercises:
Image source: R4DS
Read:
Watch
webinar: Data wrangling with R and RStudio
dplyr package
Does data wrangling.
Documentation tidyverse/dplyr + Source code
Cheat sheets Data transformation with dplyr
Learn by doing R4DS Ch 5. Data transformation
dplyr package: getting startedArticle: Introduction to dplyr
Cheat sheets: Data transformation with dplyr
Webinar: Data wrangling with R and RStudio by Garrett Grolemund
Interactive exercises (repeated on following slides)
Readings:
dplyr::rename() Rename columnsdplyr::mutate() Create, modify, and delete columnsdplyr::filter() (1/2) subset rows using column valuesInteractive exercises: Isolating Data with dplyr and Filter observations.
dplyr::filter() (2/2) relies on logical operators?Comparison and ?base::Logicdplyr::select() Subset columns using their names and typesInteractive exercises: Isolating Data with dplyr
dplyr::summarise()dplyr::group_by()dplyr::arrange()dplyr::pull()dplyr::distinct()dplyr::count()skimr package
Does Summary statistics
Key functions: skimr::skim().

Does Summary statistics
Documentation easystats/correlation + Source code
Learn by doing Using correlation
Key functions: correlation::correlation().