I'm trying to scrape this website by day. https://www.basketball-reference.com/boxscores/?month=9&day=30&year=2020 As you can see, the date is not in the right format and I can't figure out how to get R to recognize it as a date.
Here is my code so far:
url <- "https://www.basketball-reference.com/boxscores/"
timevalues <- seq(as.Date("month=10&day=2&year=2020"), as.Date("month=10&day=2&year=2020"), by = "day")
head(timevalues)
Error in charToDate(x) : character string is not in a standard unambiguous format
We can use
glue
to create-output