# Dataset$next\_version

### Dataset$<mark style="color:purple;">next\_version</mark>() → [Dataset](https://docs.redivis.com/api/client-libraries/redivis-r/reference/dataset) | None

Returns a reference to the dataset at the version following the current version, or `None` if no subsequent version exists.

{% hint style="warning" %}
Note that this method won't necessarily return the latest unreleased version of the dataset, often referred to as `v next` throughout the UI / API. This method is instead used for traversing the version history of a dataset, and will always return the dataset at the version immediately following the currently referenced version.
{% endhint %}

### **Returns**

[**Dataset**](https://docs.redivis.com/api/client-libraries/redivis-r/reference/dataset) **| None**
