> For the complete documentation index, see [llms.txt](https://carare.gitbook.io/mint-mapping-service/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://carare.gitbook.io/mint-mapping-service/transforming-and-publishing-your-dataset/introduction.md).

# Transforming your dataset

Once you have completed your mapping, you need to select *Transform* from the Dataset options. This uses the XSL produced by the mapping to create a copy of your dataset transformed in to the target schema.&#x20;

![Transforming a dataset](/files/-MAjcGiLmbgZzLgzBkzc)

When you click on *Transform* a panel will appear to allow you to choose which mapping to use for the transformation. Select your mapping from the list. Once you have clicked on submit, you will notice that the work in progress icon appears next to the dataset name in your *Workspace*.&#x20;

{% hint style="info" %}
Note: Small datasets transform quickly. Larger ones can take a while and you may prefer to start the process running late in the afternoon. You can log out and log in again next morning to view the results.&#x20;
{% endhint %}

{% hint style="info" %}
Note: If the transformation fails during the process you need to go back to the mapping. Use the preview to check for any errors in the mapping, and then edit the mapping to correct these. Then try again to transform the dataset using the mapping. If you need advice, contact the support desk.&#x20;
{% endhint %}

Once the transformation process has completed you will see this icon <img src="/files/-MAjdBchmlIyNbnZioPP" alt="" data-size="original"> if the transformation succeeded or this icon <img src="/files/-MAjdHduDJhLZvVnH7uT" alt="" data-size="original"> if there are issues to review. Either way, you can now view both the original dataset and the transformed dataset to check the results.

![Transformations and dataset options](/files/-MAjcTVfXF1Ic_T6ACWW)

Go to your Workspace and click on the name of the dataset and you will see that the Dataset Options as well as the option to *Show all the items* (in the original data set) and there is a new **"Transformations"** heading below through which the transformation for your dataset is listed. Click on this to view the transformed dataset and its statistics. A new *Dataset Options* panel will open, this time showing you the options for the transformed dataset.&#x20;

The image above shows a dataset that has failed validation.&#x20;

The options allow you to see:&#x20;

* Show all items&#x20;
* Show invalid items
* Dataset statistics


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://carare.gitbook.io/mint-mapping-service/transforming-and-publishing-your-dataset/introduction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
