Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Reading from a file
Reading from an Excel file
10. Loading data from Excel using read_excel()
Summary

Instruction

Well done! Let's check out the report from our European mines. Their managers use Excel. To read data from Excel sheets, we need to use functions from the readxl package. It's already loaded, so let's try it out. We'll use the read_excel() function and use the file name as the argument:

iron_baron_mines <- read_excel("data/iron_baron_mines.xlsx")

Exercise

Import the readxl package. Read the data/titan_trove_mines.xlsx file using read_excel() into the titan_trove_mines variable.

Stuck? Here's a hint!

To import the readxl package just type:

library(readxl)