I'm running this code to import the csv file into movies.
movies <-read.csv("https://github.com/fivethirtyeight/data/blob/master/fandango/fandango_score_comparison.csv",header=TRUE)
names(movies)
Here I'm trying to get the names of the columns
{r seeing variable names,echo=FALSE}
names(movies)
All I get is this
[1] "X..DOCTYPE.html."
What am I missing?