> For the complete documentation index, see [llms.txt](https://docs.termina.technology/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.termina.technology/documentation/flows/generating-datasets.md).

# Generating Datasets

Replaying historical state makes it possible to measure things that aren't visible onchain: how deep each pool actually was at a given size, how aggregators viewed that liquidity, and which swaps a venue would have won. These measurements are exported as datasets for offline analysis.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>Prebuilt Datasets</td><td><a href="https://1058464389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVkei3hPl3HKf8KIppIiE%2Fuploads%2Fb7r0KCgyTRs4kwh2QkME%2F5.png?alt=media&amp;token=202558da-decc-4f97-ae44-cd5960cef834">5.png</a></td><td><a href="/documentation/flows/generating-datasets/prebuilt-datasets.md">Prebuilt Datasets</a></td></tr><tr><td>Custom Datasets</td><td><a href="https://1058464389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVkei3hPl3HKf8KIppIiE%2Fuploads%2Fzuqbe7Ltq7bXge8n6A97%2F6.png?alt=media&amp;token=46a68277-041a-4326-a11d-e108eb1def91">6.png</a></td><td><a href="/documentation/flows/generating-datasets/custom-datasets.md">Custom Datasets</a></td></tr></tbody></table>
