An error occured. Details Hide
You have unsaved pages. Restore Cancel

List of datasets

Returns the list of datasets 

Response

Name        Type Description 
dimensionsList<Dimension>List of dimensions associated with the dataset
Consists of 
Key:Unique key to identify a dimension
Id: Dimension id (unique only across the dataset)
Name: Dimension name
sourceDatasetSourceData provider 
Consists of 
Id: Unique provider Id 
Name: Provider's Name 
refstring Source url of dataprovider
publicationDatedateDate on which the dataset was published 
titlestringNormalized dataset name
accessedOndateDate on which dataset is accessed from the source
lastUpdatedOndateDate on which dataset is last modified
hasGeoDimensionboolFlag to specify whether dataset conatins any geographical dimensions
replacementDatasetstringUpgraded dataset's id
columnsList<Column>

List of dataset columns
Column consists of
Key:Unique key to identify a column
Name: Column name
Order: Order of column
Type: Type of column

typestringType of dataset
regionDimensionIdstringId of the geographical dimension of the dataset
keyintDataset key 
idstringUnique identifier for a dataset 
namestringName of the dataset 
descriptionstringDetails on the dataset
ownerstringOwner of the dataset

 

Example
Get: http://data.gov.om/api/1.0/meta/dataset

[
  {
    "dimensions": [
      {
        "key": 2455910,
        "id": "dimension-1",
        "name": "Dimension 1",
        "isGeo": false,
        "geoType": null
      },
      {
        "key": 2455920,
        "id": "dimension-2",
        "name": "Dimension 2",
        "isGeo": false,
        "geoType": null
      }
    ],
    "ref": null,
    "hasGeoDimension": false,
    "hasGeoMapColumn": false,
    "hasLatLngColumn": false,
    "replacementDataset": null,
    "columns": [
      {
        "key": 5954250,
        "name": "Dimension 1",
        "order": 0,
        "type": "Text"
      },
      {
        "key": 5954260,
        "name": "Dimension 2",
        "order": 1,
        "type": "Text"
      },
      {
        "key": 5954270,
        "name": "Date",
        "order": 2,
        "type": "Date"
      },
      {
        "key": 5954280,
        "name": "Value",
        "order": 3,
        "type": "Number"
      }
    ],
    "type": "Regular",
    "regionDimensionId": null,
    "geoPositionDimensionId": null,
    "status": 0,
    "customMetadataFieldValues": [
      {
        "id": "opendata",
        "name": "Open Data",
        "type": "Dropdown",
        "inputMultiple": false,
        "required": false,
        "includeIntoSDMX": true,
        "needUseInSearch": false,
        "selectOption": {
          "datasetId": null,
          "dimensionId": null,
          "members": [
            "Open Data"
          ]
        },
        "value": null,
        "displayValue": null,
        "multipleValues": null
      }
    ],
    "hasShortCut": false,
    "url": null,
    "settings": null,
    "isShortcut": false,
    "publicationDate": null,
    "title": "book1",
    "accessedOn": null,
    "lastUpdatedOn": "2016-10-30T05:53:23",
    "source": null,
    "key": 3124630,
    "id": "axjyksb",
    "name": "Book1",
    "description": null,
    "owner": "Knoema",
    "isPublic": false
  },
  {
    "dimensions": [
      {
        "key": 2456000,
        "id": "property",
        "name": "Property",
        "isGeo": false,
        "geoType": null
      },
      {
        "key": 2456010,
        "id": "indicator",
        "name": "Indicator",
        "isGeo": false,
        "geoType": null
      }
    ],
    "ref": null,
    "hasGeoDimension": false,
    "hasGeoMapColumn": false,
    "hasLatLngColumn": false,
    "replacementDataset": null,
    "columns": [
      {
        "key": 5954430,
        "name": "Property",
        "order": 0,
        "type": "Text"
      },
      {
        "key": 5954440,
        "name": "Indicator",
        "order": 1,
        "type": "Text"
      },
      {
        "key": 5954450,
        "name": "Date",
        "order": 3,
        "type": "Date"
      },
      {
        "key": 5954460,
        "name": "Value",
        "order": 4,
        "type": "Number"
      }
    ],
    "type": "Regular",
    "regionDimensionId": null,
    "geoPositionDimensionId": null,
    "status": 0,
    "customMetadataFieldValues": [
      {
        "id": "opendata",
        "name": "Open Data",
        "type": "Dropdown",
        "inputMultiple": false,
        "required": false,
        "includeIntoSDMX": true,
        "needUseInSearch": false,
        "selectOption": {
          "datasetId": null,
          "dimensionId": null,
          "members": [
            "Open Data"
          ]
        },
        "value": null,
        "displayValue": null,
        "multipleValues": null
      }
    ],
    "hasShortCut": false,
    "url": null,
    "settings": null,
    "isShortcut": false,
    "publicationDate": null,
    "title": "dataset-example",
    "accessedOn": null,
    "lastUpdatedOn": "2016-10-30T08:50:58",
    "source": null,
    "key": 3124680,
    "id": "ztfnykb",
    "name": "_dataset example",
    "description": null,
    "owner": "Knoema",
    "isPublic": false
  },
  ...
]