1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Importing Data in R

Connected

Exercise

Reading from a path

What if your CSV file is saved in a different folder?

You'll need to define the path before using read.csv().

Instructions

100 XP
  • Define the path to swimming_pools.csv, which is located in the "datasets" folder of the home directory.