From the course: R Essential Training: Wrangling and Visualizing Data
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Creating tidy data
From the course: R Essential Training: Wrangling and Visualizing Data
Creating tidy data
- [Instructor] One of the most important principals to learn about working in R is the concept of tidy data. Now I know it sounds like a silly term but tidy data means data that is well-structured in a way that makes it very easy to import into programs and get started doing analysis almost immediately with very little doctrine of the data required. The turned tidy data comes from the prominent R Developer, Hadley Wickham. Who first wrote a paper about this and I'm going to show you both some of the definitions of tidy data and how it can work in various circumstances. To do this I'm going to come down and I going to load a few packages including the tidy verse, one called tsibble, which is a time series tsibble. Lubridate for tidying up dates and XML for getting XML data from the web. So I'm going to load those. But let's come down and take a look at the essentials of tidy data which I have listed right here. It's…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Creating tidy data9m 46s
-
(Locked)
Using tibbles4m 51s
-
(Locked)
Using data.table4m 57s
-
(Locked)
Converting data from wide to tall and from tall to wide4m 13s
-
(Locked)
Converting data from tables to rows5m 2s
-
(Locked)
Working with dates and times6m 20s
-
(Locked)
Working with list data5m 13s
-
(Locked)
Working with XML data5m 22s
-
(Locked)
Working with categorical variables6m 29s
-
(Locked)
Filtering cases and subgroups7m 32s
-
(Locked)
-
-