2
Loading and Exploring Datasets
Every data exploration begins with data, quite obviously. Thus, it is important for us to know how to load datasets to RStudio before we get to work. In this chapter, we will learn the different ways to load data to an RStudio session. We will begin by importing some sample datasets that come with some preinstalled libraries from R, then move on to reading data from Comma-Separated Values (CSV) files, which turns out to be one of the most used file types in Data Science, given its compatibility with many other programs and data readers.
We will also learn about the basic differences between a Data Frame and a Tibble, followed by a section where we will learn the basics of Web Scraping, which is another good way ...
Get Data Wrangling with R now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.