datahubio / datahub-v2-pm

Project management (issues only)
8 stars 2 forks source link

Update 'certified' property for selected datasets #282

Closed anuveyatsu closed 5 years ago

anuveyatsu commented 5 years ago

As a Developer, I want to have certified property in metadata of a dataset so that I can use it in the frontend to display users.

This is the next step of https://github.com/datahq/pm/issues/278

Acceptance criteria

Tasks

anuveyatsu commented 5 years ago

@tanvirchahal now all published core datasets are considered as certified. E.g., see status for the co2-ppm: https://api.datahub.io/source/core/co2-ppm/latest (notice first property certified: true)

In the code, you can access it here https://github.com/datahq/frontend/blob/master/routes/index.js#L569 so you would do revisionStatus.certified

anuveyatsu commented 5 years ago

Closing as FIXED since I've described how to know if a dataset is certified above.