ndi.cloud.download.dataset_documents
DATASET_DOCUMENTS download dataset documents from NDI Cloud
[B, MSG] = ndi.cloud.download.dataset_documents(DATASET, JSONPATH, ...])
Inputs:
DATASET - The dataset structure returned from ndi.cloud.api.datasets.get_dataset
MODE - 'local' to download all files locally,
'hybrid' to leave binary files in cloud
JSONPATH - location to save documents
FILEPATH - location to save files
Optional inputs (as name/value pairs):
verbose - Should output be verbose? (default: true)
Outputs:
B - did the download work? 0 for no, 1 for yes
MSG - An error message if the download failed; otherwise ''