Dataset.version

Dataset.version(tag) → Version

Create a reference to a particular version within a dataset. The version class is useful for getting version metadata and traversing versions. However, if you want to get a dataset's contents at a particular version, construct the dataset with the version tag; e.g. user|organization.dataset(name, tag="1.0").

Parameters:

tag : str The tag for the version, either current , next, or of the form 1.0. If no tag is specified, returns the version associated with the dataset instance.

Returns:

Version

Examples

dataset = redivis.organization("demo").dataset("ghcn_daily_weather_data")

version = dataset.version("1.0")
print(version.get().properties)

Last updated