Skip to main content

Function: getDatasetVersion()

function getDatasetVersion(options: object): Promise<DatasetContent>;
Defined in: src/utils/datasets.ts Gets a specific version of a dataset. Delegates to Datasets.getVersion().

Parameters

options

The options used to locate the dataset version.

datasetId?

string (Optional) The ID of the dataset.

datasetName?

string (Optional) The name of the dataset.

versionIndex

number The version index to retrieve.

Returns

Promise<DatasetContent> A promise that resolves to the dataset content at the specified version.