Skip to main content
HomeR

Course

Introduction to Importing Data in R

Beginner
4.8+
83 reviews
Updated 03/2025
In this course, you will learn to read CSV, XLS, and text files in R using tools like readxl and data.table.
Start Course for Free

Included withPremium or Teams

RData Preparation3 hours10 videos37 Exercises3,150 XP197,499Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

Importing data into R should be the easiest step in your analysis. Unfortunately, that is almost never the case. Data can come in many formats, ranging from .csv and text files, to statistical software files, to databases and HTML data. Knowing which approach to use is key to getting started with the actual analysis. In this course, you’ll start by learning how to read .csv and text files in R. You will then cover the readr and data.table packages to easily and efficiently import flat file data. After that, you will learn how to read .xls files in R using readxl.

Prerequisites

Introduction to R
1

Importing data from flat files with utils

Start Chapter
2

readr & data.table

Start Chapter
3

Importing Excel data

Start Chapter
4

Reproducible Excel work with XLConnect

Start Chapter
Introduction to Importing Data in R
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.8
from 83 reviews
82%
17%
1%
0%
0%
  • Maria Gabriela
    3 days

  • Ana-Maria
    5 days

  • George
    8 days

  • Joshua
    10 days

  • NUR ADRIANA
    11 days

  • Chaney
    9 days

Maria Gabriela

Ana-Maria

George

Join over 16 million learners and start Introduction to Importing Data in R today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.