I am trying to open a dataset in R markdown but I keep getting an error. When I run the data path in just the R script, I am able to open the data but not in R Markdown using the same path. I don't know what I am doing wrong. Here is the code:
#Load the data
```{r}
turnout <- read.csv("Desktop/SOC 4500_Data Analysis/R Assignment Answers/turnout.csv")
data(turnout)
df <- turnout
names(turnout)