Hi everyone, I have an issue in R.
I wanted to download my historical data from Lichess with this link (lichess.org/api/games/user/Nachoeigu), but when I use the download.file, I received an error.
I will show you my code:
url <- "lichess.org/api/games/user/Nachoeigu"
destfile <- "C:/Users/Sol/Downloads/nachoeigu_chess.pgn"
download.file(url, destfile, method = "libcurl")
The error I receive is this:
download.file(url, destfile, method = "libcurl")
trying URL '(the URL)'
Content length 162 bytes
Error in download.file(url, destfile, method = "libcurl") :
cannot open URL '(the URL)'In addition: Warning message:
In download.file(url, destfile, method = "libcurl") :
URL '(the URL)': status was 'SSL connect error'
OFF: I put "(The URL)" in reffering to the first link I pasted, because RStudio Community doesnt allow me to post a lot of URLs.
Thank you guys for read my issue.