# Dataset.version

### Dataset.<mark style="color:purple;">version</mark>(tag) → [Version](https://docs.redivis.com/api/client-libraries/redivis-python/reference/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` :&#x20;*****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**](https://docs.redivis.com/api/client-libraries/redivis-python/reference/version)

### Examples

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

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