I want to load PakPMICS2018bh.RData data from https://github.com/myaseen208/PakPMICS2018Data/ and used the following code which throws the error:
library(RCurl)
PakPMICS2018bhURL <- "https://github.com/myaseen208/PakPMICS2018Data/raw/master/PakPMICS2018bh.RData"
load(url(PakPMICS2018bhURL))
Error in load(url(PakPMICS2018bhURL)) : the input does not start with a magic number compatible with loading from a connection
I am wondering what is wrong with my code. Any help, please.