7 Doing things with lots of data

This chapter covers

  • How to read data into R from different sources
  • How to inspect your data once it’s in R
  • How to write R data to a file

Working with the example data sets has been useful; they’re not overly complex, yet they have features that help demonstrate the tools you’ve been learning to use. But it’s not your data, and that’s what you really want to use; so let’s explore how to get your data into your workspace, ready to be manipulated/interrogated, and then store it for safe keeping once you’re done.

7.1 Tidy data principles

If you’ve ever received data from someone else, you’ve likely encountered the issue of them not sharing your mental model of how that data should look. Even something as simple ...

Get Beyond Spreadsheets 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.