© Thomas Mailund 2019
Thomas MailundR Data Science Quick Referencehttps://doi.org/10.1007/978-1-4842-4894-2_2

2. Importing Data: readr

Thomas Mailund1 
(1)
Aarhus, Denmark
 
Before we can analyze data, we need to load it into R. The main Tidyverse package for this is called readr, and it is loaded when you load the tidyverse package .
library(tidyverse)
But you can also load it explicitly using
library(readr)

Tabular data is usually stored in text files or compressed text files with rows and columns matching the table’s structure. Each line in the file is a row in the table and columns are separated by a known delimiter character. The readr package is made for such data representation and contains functions for reading and writing variations of files formatted ...

Get R Data Science Quick Reference: A Pocket Guide to APIs, Libraries, and Packages 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.