neptune_download: Downloads all the files that are referenced in the field.

View source: R/neptune_download.R

neptune_downloadR Documentation

Downloads all the files that are referenced in the field.

Description

Downloads all the files that are referenced in the field.

Usage

neptune_download(x, destination)

Arguments

x

Field for which we want to download the files

destination

(character - The directory where the files will be downloaded. If NULL is passed, the files will be downloaded to the current working directory.

If destination is a directory, the file will be downloaded to the specified directory with a filename composed from field name and extension (if present).

If destination is a path to a file, the file will be downloaded under the specified name.

Value

None

Author(s)

Authors:

See Also

Useful links:

Examples

## Not run: 
# We are using api token for an anonymous user neptuner. For your projects use your private token.
run <- neptune_init(api_token = 'ANONYMOUS',
                    project = "common-r/quickstarts",
                    run='AR-2', # Neptune Run ID of a run with artifact
                    mode='read-only')
neptune_download(run['artifacts/images'], destination='datasets/train/images')

## End(Not run)

neptune documentation built on April 13, 2022, 5:14 p.m.