Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Data Manipulation With Dplyr in R

Thao Tác Dữ Liệu Với Dplyr Trong R

Thao Tác Dữ Liệu Với Dplyr Trong R

Hướng dẫn trực quan về xử lý dữ liệu với một trong những gói R mạnh mẽ nhất - dplyr.

4.5
(309 đánh giá)
32,588 học viên
Giảng viên
Bogdan Anastasiei
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 399.000đ -87%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
3.0 giờ video
35 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Lọc khung dữ liệu bằng nhiều điều kiện khác nhau
Chọn và loại bỏ các cột (biến) trong khung dữ liệu
Sắp xếp khung dữ liệu theo giá trị cột
Tạo biến mới từ các biến hiện có
Tính toán thống kê tổng hợp cho khung dữ liệu
Các thao tác hữu ích khác (đếm số hàng, chọn hàng đầu, chọn hàng ngẫu nhiên, v.v.)
Chuỗi lệnh dplyr để viết mã thao tác dữ liệu mạnh mẽ
Kết hợp khung dữ liệu (năm loại kết hợp)
Kết hợp dplyr với ggplot2 để tạo biểu đồ ý nghĩa

Yêu cầu

Kiến thức lập trình R cơ bản

Đối tượng phù hợp

Những người muốn trở thành chuyên viên phân tích R
Sinh viên và nhà thống kê muốn học R
Những người muốn học nguyên lý cơ bản về thao tác dữ liệu bằng R

Nội dung khóa học

8 phần • 35 bài giảng
1 Giới thiệu
1 Tổng quan về Các Lệnh Cơ Bản
2 Lệnh filter()
3 Lệnh select()
4 Lệnh mutate()
5 Lệnh arrange()
6 Lệnh summarise()
7 Lệnh group_by()
1 Lệnh count()
2 Lệnh tally()
3 Lệnh n_distinct()
4 Lệnh sample()
5 Lệnh top_n()
6 Lệnh bind()
7 Lệnh glimpse()
8 Thao Tác Tập Hợp (1)
9 Thao Tác Tập Hợp (2)
1 Chuỗi Lệnh Là Gì?
2 Ví Dụ Chuỗi Lệnh Đơn Giản
3 Thêm Ví Dụ Về Chuỗi Lệnh
4 Nhiều Ví Dụ Chuỗi Lệnh Hơn Nữa
1 Các Lệnh Kết Hợp Chính Trong Dplyr
2 Lệnh inner_join()
3 Lệnh semi_join()
4 Lệnh left_join()
5 Lệnh anti_join()
6 Lệnh full_join()
1 Cách Thức Hoạt Động
2 Xây Dựng Biểu Đồ Cột
3 Xây Dựng Biểu Đồ Đường Trung Bình
4 Xây Dựng Biểu Đồ Phân Tán
5 Xây Dựng Biểu Đồ Tần Suất
6 Xây Dựng Biểu Đồ Hộp
1 Bài tập thực tế
1 Tải Tài Nguyên Của Bạn Tại Đây

Giới thiệu khóa học

Data manipulation is a vital data analysis skill – actually, it is the foundation of data analysis. This course is about the most effective data manipulation tool in R – dplyr!


As a data analyst, you will spend a vast amount of your time preparing or processing your data. The goal of data preparation is to convert your raw data into a high quality data source, suitable for analysis. More often than not, this process involves a lot of work. The dplyr package contains the tools that can make this work much easier.


dplyr has a few important advantages over other data data manipulation tools or functions:


  • it’s much faster (25-30 times faster)

  • its code is easier to write and understand

  • it can use chaining to build sequences of commands, thus making the code even cleaner and faster to execute


For these reasons, dplyr quickly began the most popular data manipulation tool among R data scientists. When you finish this course, you will be able to


It is a short course, but it is focused on the most essential commands and functions of the dplyr package, those commands that you will likely use most often.


So let’s see what you are going to learn in this course.


The first section covers the five core dplyr commands. These commands are: filter, select, mutate, arrange and summarise. You will need these commands practically every time when you work with dplyr. They are used to subset data frames, compute new variables, sort data frames, compute statistical indicators and so on. Here’s a few real life scenarios of their utilization:


  • you need to extract from your respondents data set the male subjects with an income greater than $30,000

  • you need to compute each respondent’s income per family member, knowing the total income and the number of family members

  • you have a data set with 27 variables, but you only need 6 for your analysis (so you want to remove the extra variables)

  • you have to sort your employees data set by salary

  • you need to compute the average satisfaction towards a product, knowing each individual customer satisfaction etc.


The second section approaches other important dplyr commands and functions. In this section you’ll learn:


  • how to count the observation in a certain group

  • how to extract a random sample from your data frame

  • how to extract the top entries from your data frame, based on a given variable

  • how to visualize the structure of your data set

  • how to use the set operations in dplyr (if you have used these operations in base R, you’ll see that dplyr takes them to a whole new level).


In the third section you’ll start to take advantage of the true power of dplyr. Here we’ll talk about chaining – creating sequences of dplyr commands that accomplish multiple tasks with one click only.


The fourth section is about joining data frames with dplyr. This is a very important topic, because many times your data will be found in several data frames. So you will need to join these data frames into only one, suitable for your analyses. We are going to look at five join types available in dplyr: inner_join, semi_join, left_join, anti_join and full_join. We are going to examine the output of each join type using a simple example.


In the fifth section we’ll learn how to combine the dplyr and ggplot2 (using chaining) commands to build expressive charts and graphs. For example, if you want to represent the income distribution for the subjects with a higher education only, or the relationship between income and education level for the female subjects only, in this section you will learn exactly how to do it.


Every command is illustrated with video, both the syntax and the output being explained in detail. At the end of the course, a big number of practical exercises are proposed. By doing these exercises you’ll actually apply in practice what you have learned.


Join this course right now and acquire a critical data analysis ability – data manipulation!


Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Data Analysis
Hiển thị tất cả khoá học Data Science
Hiển thị tất cả khoá học R Programming
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊