datopian / zen-of-data

Zen of Data (Engineering)
https://datopian.com
9 stars 1 forks source link

One of the views isnt showing on datahub #7

Open MuhammadIsmailShahzad opened 4 years ago

MuhammadIsmailShahzad commented 4 years ago

I have two views in my datapackage.json file. The datapackage is valid. The first view works fine but the second view doesn't show up, theres no error it just keeps loading.

"views": [
    {
      "name": "Change in sea levels from 1800s to the present date compared to the (1993-2008)Average",
      "title": "Change in sea levels from 1800s to the present date compared to the (1993-2008)Average",
      "resources": ["sealevel"],
      "specType": "simple",
      "spec": {
        "type": "line",
        "group": "Time",
        "series": [ "CW_change_mm","UHSLCFD_change_mm" ]
        }
    },
   {
    "name": "Change in Global Mean Sea Level from 1993-2019 in millimeters",
    "title": "Change in Global Mean Sea Level from 1993-2019 in millimeters",
    "resources": ["CISROsealevel"],
    "specType": "simple",
    "spec": {
      "type": "line",
      "group": "Year",
      "series": ["GMSL"] 
    }
  }
]

Datahub link: https://datahub.io/ismail.shahzad/rise-in-sea-level

RobGrootjen commented 4 years ago

@MuhammadIsmailShahzad can you share the whole JSON code? So I can take a detailed look at it

MuhammadIsmailShahzad commented 4 years ago

@RobGrootjen Data package: https://gitlab.com/ismailshahzad/rise-in-sea-level/blob/master/datapackage.json Gitlab link: https://gitlab.com/ismailshahzad/rise-in-sea-level