neptune_fetch: Fetch values of all non-File Atom fields as a named list.

View source: R/neptune_fetch.R

neptune_fetchR Documentation

Fetch values of all non-File Atom fields as a named list.

Description

Fetch values of all non-File Atom fields as a named list. The result will preserve the hierarchical structure of the run's metadata, but will contain only non-File Atom fields. You can use this method to quickly retrieve previous run's parameters.

Usage

neptune_fetch(x)

Arguments

x

Field or run, for which we want to fetch the value

Value

named list containing all non-File Atom fields values.

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.
resumed_run <- neptune_init(api_token = 'ANONYMOUS',
                    project = "common-r/quickstarts",
                    run="HEL-3")
params <- neptune_fetch(resumed_run['model/paramaters'])
run_data <- neptune_fetch(resumed_run)
print(run_data)
# this will print out all Atom attributes stored in run as a dict

## End(Not run)

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