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()
.
Cet exercice fait partie du cours
Introduction to Importing Data in R
Instructions
- Define the path to
swimming_pools.csv
, which is located in the"datasets"
folder of the home directory.
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Define the path
path <- ___("___", "___", "___")
path