Re: Issue with importing Individual Recode datasets for India for the years 2015-2016 on R [message #25178 is a reply to message #24385] |
Fri, 09 September 2022 13:15 ![Go to previous message Go to previous message](/theme/default/images/up.png) |
Nidigot
Messages: 7 Registered: July 2022
|
Member |
|
|
This would be the ugliest work around, but download the file from DHS and then store it in RDHS' cache:
data <- read_dta('/Users/Nidi/Desktop/filename.DTA')
saveRDS(data, "~/Library/Caches/rdhs/datasets/filename.rds")
and then call the file from there.
If you necessarily would like to have it in the "downloads list" then store it (depending on where it should have been, but here I choose "1":
downloads[[1]] <- "~/Library/Caches/rdhs/datasets/filename.rds"
like I said: it is ugly, but it does work for your purpose
|
|
|