In this video, Mark Niemann-Ross demonstrates a bridge between Google document spreadsheets and R. Learn how to use R to interactively work with Google documents.
- [Narrator] You can use R to read from…and write to Google Sheets.…And to do that we'll use the Google Sheets package.…The first step I need to do is create some sample data…that we're going to write back and forth.…You'll need to install the Google Sheets package…if you haven't done so already,…and incidentally when you do so,…you will probably have to recompile a certain…amount of information, that'll happen automatically.…And when you're done installing the package,…use library Google Sheets to being that package in to play.…
Now, I know that the file that I want to work on is called…HighVarietyData_LinkedIn_Learning,…and so I'm going to put that into a vector called…nameOfGoogleSheet,…and I'm ready now to write data to that Google Sheet.…To do that,…I'll use the gs_title command and get a reference.…I'm going to put the reference into a vector called workingGS,…and I'm going to use the gs_title command,…and give it the name of an existing Google Sheet.…
I hit command return and in my case,…I've successfully identified the sheet.…
- Challenges and characteristics of high-variety data
- Using R with Excel
- Exporting an R data structure to an Excel workbook
- Importing text, CSV, and tab-delimited files
- Working with the R foreign package
- Using R with XML files, HTML files, and Google Docs
- Working with images 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.