Week 2 Lab

Introduction

Before we can begin to do any visualization or analysis, we need to be able to get data obtained from a data source into R. Doing this requires that we know how files are organized in the file system, and how the data behaves once it is imported. This lab is aimed at building upon the concepts discussed in the first session by exploring ways to access and manipulate data in R. In this session you will learn about:

  • dealing with files, folder structures, and working directories in R

  • importing and exporting data files as tibbles

  • modifying and appending datasets