Back to Browse

Transforming Data with dplyr Verbs

406 views
Jan 26, 2024
13:35

In this video I show students how to tranform data using filter(), select() and mutate() from the dplyr package in R. This video is part of a series of videos on wrangling data in R: https://youtube.com/playlist?list=PLz_H8pWWERSx2Tp_zDW0PB4c63x1Zl_Mu&si=ZyHZvKtqiJJCZRJK Code and data are here: https://github.com/eteitelbaum/youtube-code Table of Contents: 01:27 - Quick tour of V-Dem website 02:59 - Setup 04:22 - Download data using vdem 08:43 - Adding region names with case_match() 11:18 - Forgot to select year! 12:46 - Wrap up

Download

1 formats

Video Formats

360pmp420.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Transforming Data with dplyr Verbs | NatokHD