require(RCurl)
RAW.API <- postForm(REDcap.URL, token=Redcap.token, content="record",
type="flat", format="csv", rawOrLabel="Label",
.opts=curlOptions(ssl.verifypeer=TRUE, cainfo=REDCap.crt,
verbose=FALSE))
data <- read.table(file = textConnection(RAW.API), header = TRUE,
sep = ",", na.strings = "", stringsAsFactors = FALSE)
Am using such code to pull data from Redcap into R.The problem is when dealing with large dataset for my case >19,000 records its taking a lot of time even aborting at times. Is there a way to enhance the code above or may be subset the data with date.