> For the complete documentation index, see [llms.txt](https://openadapt.gitbook.io/openadapt.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://openadapt.gitbook.io/openadapt.ai/reference/api-reference/openadapt-module/scripts-module/tag_dataset.py.md).

# tag\_dataset.py

Usage:

```
$ python openadapt/scripts/tag_dataset.py <window_event_timestamp>
<screenshot_timestamp> [<dataset_id>]
```

To create a dataset and add to it, make a recording, then visualize it and find the window event timestamp and screenshot timestamp you would like to add to the dataset. Then, run the above command.

* If you want to create a new dataset and insert the 1st entry, leave dataset\_id blank.&#x20;
* If you want to add to an existing dataset, add the dataset\_id.
* Currently, the dataset created [here ](https://drive.google.com/drive/folders/1g5cMMDa-rsVP2BV3QlgyS2GdDguHQ3EL?usp=sharing)is using dataset\_id=1.
