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

List of datasets

Returns the list of datasets 

Response

Name         Type  Description 
dimensions List<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
source DatasetSource Data provider 
Consists of 
Id: Unique provider Id 
Name: Provider's Name 
ref string  Source url of dataprovider
publicationDate date Date on which the dataset was published 
title string Normalized dataset name
accessedOn date Date on which dataset is accessed from the source
lastUpdatedOn date Date on which dataset is last modified
hasGeoDimension bool Flag to specify whether dataset conatins any geographical dimensions
replacementDataset string Upgraded dataset's id
columns List<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

type string Type of dataset
regionDimensionId string Id of the geographical dimension of the dataset
key int Dataset key 
id string Unique identifier for a dataset 
name string Name of the dataset 
description string Details on the dataset
owner string Owner of the dataset

 

Example
Get: http://knoema.com/api/1.0/meta/dataset

[
  {
    "dimensions": [
      {
        "key": 2125000,
        "id": "country",
        "name": "Country",
        "isGeo": true,
        "geoType": "region"
      },
      {
        "key": 2125010,
        "id": "subject",
        "name": "Subject",
        "isGeo": false,
        "geoType": null
      }
    ],
    "ref": "http://www.imf.org/en/data",
    "hasGeoDimension": true,
    "hasGeoMapColumn": false,
    "hasLatLngColumn": false,
    "replacementDataset": {
      "id": "IMFWEO2016Oct",
      "name": "IMF World Economic Outlook (WEO), October 2016"
    },
    "columns": [
      {
        "key": 4900780,
        "name": "Country",
        "order": 1,
        "type": "Text"
      },
      {
        "key": 4900790,
        "name": "RegionId",
        "order": 2,
        "type": "Text"
      },
      {
        "key": 4900800,
        "name": "Id",
        "order": 3,
        "type": "Text"
      },
      {
        "key": 4900810,
        "name": "Subject",
        "order": 4,
        "type": "Text"
      },
      {
        "key": 4900820,
        "name": "SubjectDescription",
        "order": 5,
        "type": "Text"
      },
      {
        "key": 4900830,
        "name": "SubjectNotes",
        "order": 6,
        "type": "Text"
      },
      {
        "key": 4900840,
        "name": "Id",
        "order": 7,
        "type": "Text"
      },
      {
        "key": 4900850,
        "name": "Value",
        "order": 8,
        "type": "Number"
      },
      {
        "key": 4900860,
        "name": "Date",
        "order": 9,
        "type": "Date"
      }
    ],
    "type": "Regular",
    "regionDimensionId": "country",
    "geoPositionDimensionId": null,
    "status": 2,
    "customMetadataFieldValues": null,
    "hasShortCut": false,
    "url": null,
    "settings": null,
    "isShortcut": false,
    "publicationDate": "2016-04-01T00:00:00",
    "title": "imf-world-economic-outlook-weo-april-2016",
    "accessedOn": "2016-04-14T00:00:00",
    "lastUpdatedOn": "2016-04-21T18:27:00",
    "source": {
      "id": "IMF",
      "name": "International Monetary Fund",
      "isVerified": true
    },
    "key": 2735370,
    "id": "IMFWEO2016Apr",
    "name": "IMF World Economic Outlook (WEO), April 2016",
    "description": "",
    "owner": "Knoema",
    "isPublic": true
  },
  {
    "dimensions": [
      {
        "key": 1630060,
        "id": "reporter",
        "name": "Reporter",
        "isGeo": true,
        "geoType": "region"
      },
      ...
    ],
    "ref": "http://comtrade.un.org/db/",
    "hasGeoDimension": true,
    "hasGeoMapColumn": false,
    "hasLatLngColumn": false,
    "replacementDataset": null,
    "columns": [
      {
        "key": 3363870,
        "name": "Reporter",
        "order": 1,
        "type": "Text"
      },
      ...    
    ],
    "type": "Regular",
    "regionDimensionId": "reporter",
    "geoPositionDimensionId": null,
    "status": 2,
    "customMetadataFieldValues": null,
    "hasShortCut": false,
    "url": null,
    "settings": "{\"ColumnStoreFlag\":true,\"UseDataSessionFlag\":true,\"UseExtendedCountTablesFlag\":true,\"ColumnStoreTable\":\"[COMTRADE2015R1].[DataCol]\",\"ExtendedCountTablesUpdateStamp\":\"2016-07-28 07:11:05\"}",
    "isShortcut": true,
    "publicationDate": "2016-05-26T00:00:00",
    "title": "un-comtrade-merchandise-trade-by-commodity-hs-as-reported",
    "accessedOn": "2016-05-26T00:00:00",
    "lastUpdatedOn": "2016-07-28T06:17:12",
    "source": {
      "id": "UNSD",
      "name": "United Nations Statistics Division",
      "isVerified": true
    },
    "key": 2733950,
    "id": "xhxkuab",
    "name": "UN Comtrade: Merchandise trade by Commodity, HS - As Reported",
    "description": null,
    "owner": "Knoema",
    "isPublic": true
  },
  ...
 ]