# UNESCO DataHub

> Find UNESCO public datasets, inspect their source and field metadata, and read records for cultural and education reporting.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/unesco-datahub

## Actions

### Get a UNESCO dataset

Read a dataset's title, publisher, update date and available fields.

**Inputs**

- Dataset ID (`dataset_id`, text, required): Dataset ID displayed in the DataHub URL, such as cou001 for Member States.

**Outputs**

- `data` (object): The response from UNESCO DataHub.

**Example output**

```json
{
  "data": {
    "dataset_id": "example",
    "fields": [
      {
        "label": "example",
        "name": "example",
        "type": "example"
      }
    ],
    "has_records": true,
    "metas": {
      "default": {
        "description": "example",
        "modified": "example",
        "publisher": "example",
        "title": "example"
      }
    }
  }
}
```

### List UNESCO dataset records

Read a page of records. The returned columns depend on the dataset.

**Inputs**

- Dataset ID (`dataset_id`, text, required): Dataset ID displayed in the DataHub URL, such as cou001 for Member States.
- Limit (`limit`, number): Maximum results to return (1 to 100). From 1 to 100.
- Offset (`offset`, number): Number of results to skip. At least 0.

**Outputs**

- `data` (object): The response from UNESCO DataHub.

**Example output**

```json
{
  "data": {
    "results": [
      {}
    ],
    "total_count": 1
  }
}
```

### List UNESCO datasets

Browse publicly accessible datasets and find their identifiers, titles and publishers.

**Inputs**

- Limit (`limit`, number): Maximum results to return (1 to 100). From 1 to 100.
- Offset (`offset`, number): Number of results to skip. At least 0.

**Outputs**

- `data` (object): The response from UNESCO DataHub.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "dataset_id": "example",
        "fields": [
          {
            "label": "example",
            "name": "example",
            "type": "example"
          }
        ],
        "has_records": true,
        "metas": {
          "default": {
            "description": "example",
            "modified": "example",
            "publisher": "example",
            "title": "example"
          }
        }
      }
    ],
    "total_count": 1
  }
}
```
