In this video, Mark Niemann-Ross demonstrates reading individual cells from Excel. Learn how to import data from a specific cell in a worksheet in a workbook.
- [Instructor] Sometimes you're just going to need to read…one individual cell from an Excel spreadsheet…and to do that you can use readxl,…which is another R package.…Here's how to do it.…First of all, be sure to set your working directory…to chapter zero one of the exercise files…and then create a spreadsheet file vector containing…a pathname to simple spreadsheet dot xlxs.…Let's take a quick look at that spreadsheet…to find out what we're going to import.…
Here, a simple spreadsheet.…And if we look at cell B24,…we'll see that it contains the value 250,…and that's the number we want to bring in.…So let's go back to R.…The first thing you'll want to do is install…the readxl package if you haven't done so already…and then use the library command…to make sure that it's available to you.…To read that single cell is fairly easy.…We're going to read the value into one cell.…
That can be any vector name.…And I'm going to use the read underbar Excel…and it's important to get the underbar and not a dot.…I'm going to read from spreadsheet file.…
- Name the three types of big data.
- List three considerations used to determine the appropriate R package for Excel.
- Determine the best package used to import entire Excel workbooks.
- Explain how to import standard text files using base R and tidyverse.
- Define the purpose of the foreign language package for R.
- Recognize restrictions when working on SAS files in the foreign language package.
- Identify the problems involved with extracting data from a PDF in R.
Skill Level Intermediate
R Programming in Data Science: High Volume Datawith Mark Niemann-Ross1h 25m Intermediate
1. Use R with Excel
2. Importing Text Files
3. Understanding the Foreign Package
4. Use R with Popular Data Formats
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.