Twinkle HubTwinkle Hub

英國 開放資料 資料集 metadata (欄位/資源/授權)

uk_get_dataset

🇬🇧 Royaume-Unilecture seule

關鍵字 / Keywords: 英國 開放資料 資料集 metadata 欄位 資源 授權 UK opendata dataset metadata resources license OGL open government licence CKAN package_show

Scope: UK data.gov.uk · per-dataset detail (LIVE from CKAN).

Fetches the full CKAN package payload including all resources (each with url, format, description, created).

Args: dataset_id: CKAN name slug (e.g. price-paid-data) or UUID. Both work — CKAN resolves either. Discover slugs via uk_search_datasets results (name field).

Returns dict with full CKAN package (data), and license resolved from the dataset itself (falling back to portal OGL v3).

Paramètres

NomTypeDescription
dataset_id *string
Schéma JSON brut
{
  "properties": {
    "dataset_id": {
      "title": "Dataset Id",
      "type": "string"
    }
  },
  "required": [
    "dataset_id"
  ],
  "title": "uk_get_datasetArguments",
  "type": "object"
}

Comment appeler

Amorce — paramètres dans le tableau
uk_get_dataset({ dataset_id: "…" })