ABSTRACT

The first action in any analysis project is to obtain and load data. This data is often available in a database, the internet, or a file on your computer. One of the essential skills is thus to load this data into memory and view its content. This chapter introduces how to read CSV files and spreadsheets into R and explore their content using the Tidyverse suite of libraries. This chapter also presents a case study about water quality using synthetic data from an imaginary water supply network. This chapter has the following learning objectives:

Download and install R packages

Load and describe CSV files and spreadsheet

Explore the content of rectangular data (data frames)