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

Get timeseries list

 
For the given dataset, this endpoint returns time series list for all the available frequencies with the combination of all the dimension members.
 
Input: Dataset unique identifier.
 
Result:
Name Type Description 
datasetIdstring Unique identifier for the dataset
timeseriesKeyintTimeseries key 
frequency char

Denotes the frequency of data available.
Frequency of data can be of the following types

  • annual
  • semiannual
  • quarterly
  • monthly
  • weekly
  • daily
metadataArray[DimensionalDetails] List of Dimension details. 
Consist of 
  • dim:Dimension id
  • key: Dimension member key(The dimension member key associated with this timeseries)
  • name: Dimension member name.
startDateDate First Observation value's date.
endDateDate Most recent observation value's date.
 
 
Example:
Get: http://data.gov.om/api/1.0/data/dataset/OMINF2016
[
  {
    "datasetId": "OMINF2016",
    "timeseriesKey": 1000000,
    "frequency": "Annual",
    "metadata": [
      {
        "dim": "region",
        "key": "1000000",
        "name": "Oman"
      },
      {
        "dim": "indicator",
        "key": "1000010",
        "name": "Grand Total - Transmission & Broadcasting Hours :Daily - No"
      },
      {
        "dim": "periodic-release",
        "key": "1000000",
        "name": "Total"
      },
      {
        "dim": "program-quality",
        "key": "1000000",
        "name": "Total"
      }
    ],
    "startDate": "01/01/2002 00:00:00",
    "endDate": "01/01/2016 00:00:00"
  },
  {
    "datasetId": "OMINF2016",
    "timeseriesKey": 1000010,
    "frequency": "Annual",
    "metadata": [
      {
        "dim": "region",
        "key": "1000000",
        "name": "Oman"
      },
      {
        "dim": "indicator",
        "key": "1000020",
        "name": "No. Total Television Broadcasting Hours- Daily"
      },
      {
        "dim": "periodic-release",
        "key": "1000000",
        "name": "Total"
      },
      {
        "dim": "program-quality",
        "key": "1000000",
        "name": "Total"
      }
    ],
    "startDate": "01/01/2002 00:00:00",
    "endDate": "01/01/2016 00:00:00"
  },
  {
    "datasetId": "OMINF2016",
    "timeseriesKey": 1000020,
    "frequency": "Annual",
    "metadata": [
      {
        "dim": "region",
        "key": "1000000",
        "name": "Oman"
      },
      {
        "dim": "indicator",
        "key": "1000030",
        "name": "The Public Channel / Satellite Transmission"
      },
      {
        "dim": "periodic-release",
        "key": "1000000",
        "name": "Total"
      },
      {
        "dim": "program-quality",
        "key": "1000000",
        "name": "Total"
      }
    ],
    "startDate": "01/01/2003 00:00:00",
    "endDate": "01/01/2016 00:00:00"
  },
  {
    "datasetId": "OMINF2016",
    "timeseriesKey": 1000030,
    "frequency": "Annual",
    "metadata": [
      {
        "dim": "region",
        "key": "1000000",
        "name": "Oman"
      },
      {
        "dim": "indicator",
        "key": "1000040",
        "name": "The Sports Channel/ Second Program"
      },
      {
        "dim": "periodic-release",
        "key": "1000000",
        "name": "Total"
      },
      {
        "dim": "program-quality",
        "key": "1000000",
        "name": "Total"
      }
    ],
    "startDate": "01/01/2007 00:00:00",
    "endDate": "01/01/2016 00:00:00"
  },
  ...
]