.getDirectFiles {onc.api} | R Documentation |
Downloads all archive files that match the filters Internally will use geListByDevice or getListByLocation and getFile all files
.getDirectFiles(self, filters = list(), overwrite = FALSE, allPages = FALSE)
self |
Calling object |
filters |
(named list) describe the data origin |
overwrite |
When TRUE, downloaded files will overwrite any file with the same filename, otherwise file will be skipped |
allPages |
When TRUE, if the data is too long to fit a single request, multiple pages will be requested until all data is obatined |
(named list) Information on the results of the operation, with "downloadResults" for each file downloaded and general "stats"