neptune_track_files: Saves the artifact metadata.

View source: R/neptune_track_files.R

neptune_track_filesR Documentation

Saves the artifact metadata.

Description

Saves the artifact metadata: version (hash), location (path), size, folder structure, and contents to Neptune. Works for files, folders or S3-compatible storage.

Usage

  neptune_track_files(x, path, destination=NULL, wait=FALSE)

Arguments

x

Field

path

character - File path or S3-compatible path to the file or folder that you want to track.

destination

character - location inside Neptune artifact namespace where you want to log the metadata.

wait

logical - - If TRUE the client will wait to send all tracked metadata to the server before making the assignment. This makes the call synchronous.

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")
  neptune_track_files(run['artifacts/images'], 'datasets/train/images')

## End(Not run)

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