# Class CaaSDataset

The class CaaSDataset gets data and metadata of a given tag. A tag is unique identifier for a dataset.

### Attributes <a href="#attributes" id="attributes"></a>

| Attribute               | Description                         |
| ----------------------- | ----------------------------------- |
| caas\_client:CaaSClient | an instance of the CaaSClient       |
| tag:str                 | The tag associated with the dataset |

### Methods <a href="#methods" id="methods"></a>

| Method Name     | Description                                          |
| --------------- | ---------------------------------------------------- |
| get\_metadata() | returns the schema associated with the tag (dataset) |
| get\_data()     | returns the data associated with the dataset         |
| count()         | returns the total number of records in the dataset   |
| get\_tag        | returns the tag                                      |
| get\_client     | returns the client                                   |

​


---

# Agent Instructions: 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:

```
GET https://docs.cloudfabrix.io/rda/rda-python-api/rda-class-caasdataset.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
