Data Import from Files, JSON, and XML
Slide Deck | Recorded Lecture | Lecture Notes | Guest Lectures | Discussions | Self-Assessment | Diary
In this lesson you will be introduced to the R functions and packages required to import data from a variety of text files, including comma separated value (CSV) files, tab delimited files, Excel files, R object files (.RData), and foreign statistical package files (SPSS, Stata, and SAS). In addition, importing XML encoded objects using XML parsing is covered.
Objectives
Upon completion of this lesson, you will be able to
Upon completion of this lesson, you will be able to
- import data from CSV files, tab delimited files, Excel files, and R object files
- parse XML and JSON documents
Required Readings
- Chapter 4 in text book
Suggested Readings
Sample Data Sets & Code