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


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")


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: