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.
Using data.table
From the course: R Essential Training: Wrangling and Visualizing Data
Using data.table
- [Instructor] One of the great things about R being open-source is, people can develop different things for it. And you get a lot of different perspectives on how to work on R. And well, the tidy verse approach is very common in one I use throughout this course. There are other parallel universes. One of them is adaptation of R for working with large data sets. And Data Table is one of the most common ways of doing this. So I'm going to step out of the tidy verse for just a moment, and give you a very quick demonstration of how data table can be used to do some very simple things with large data sets. Now I'm going to come down here and I'm going to load a few packages, including data.table, which is the one that makes it possible. And I'm also going to use HTTR because we're going to be bringing in some data from a website, so you're going to need a live web connection while you do this. I'm going to be using…
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
-
-
-
-
-
-
-
Creating tidy data9m 46s
-
Using tibbles4m 51s
-
Using data.table4m 57s
-
Converting data from wide to tall and from tall to wide4m 13s
-
Converting data from tables to rows5m 2s
-
Working with dates and times6m 20s
-
Working with list data5m 13s
-
Working with XML data5m 22s
-
Working with categorical variables6m 29s
-
Filtering cases and subgroups7m 32s
-
-
-