Closed maier-m closed 6 years ago
Create a downloadObject function to assist users with getting files from dataONE. An alternative now is to use:
foo <- dataone::getObject() writeBin(foo) But this will fail with files >2GB because of limitations inherent to R
foo <- dataone::getObject()
writeBin(foo)
R
A downloadObject function should be part of the D1Client module to preserve API congruence.
Additionally, the function should use mediaType and fileName sysmeta when possible to name files and give file extensions.
mediaType
fileName
Completed by @maier-m in commit 82fe053181000ded8d7b9c27a3453e692f6b5fe2
Create a downloadObject function to assist users with getting files from dataONE. An alternative now is to use:
foo <- dataone::getObject()
writeBin(foo)
But this will fail with files >2GB because of limitations inherent toR
A downloadObject function should be part of the D1Client module to preserve API congruence.
Additionally, the function should use
mediaType
andfileName
sysmeta when possible to name files and give file extensions.