I want to access the .csv file from my github repository. While connecting to the Github repository I am getting the following error:
Error in curl::curl_fetch_memory(file) :
Timeout was reached: [raw.githubusercontent.com] Failed to connect to raw.githubusercontent.com port 443 after 5250 ms: Timed out
The R-code is as below:
library(tidyverse)
library(rio)
data <- import("https://raw.githubusercontent.com/siddharth-sahasrabudhe/Youtube-video-files/main/deck.csv")
Can you please suggest how I can able to resolve this issue?
thanks
Siddharth
AlexisW
2
Unsure what the cause is. You can try first downloading the file with:
download.file("https://raw.githubusercontent.com/siddharth-sahasrabudhe/Youtube-video-files/main/deck.csv",
"deck.csv")
And if that fails, without https:
download.file("http://raw.githubusercontent.com/siddharth-sahasrabudhe/Youtube-video-files/main/deck.csv",
"deck.csv")
In the past, I also could solve problems downloading (repos) from Github by authenticating, but for raw data that may be more complicated.
system
Closed
3
This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.