Skip to content

Latest commit

 

History

50 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckanext-dietstars

Show an Openness score using 0 to 5 stars depending on the openness of the metadata.

CKAN versions supported: 2.9 to 2.12

The extension uses the license and resource formats to compute the score. Check plugin.py for the actual logic.

The information is indexed in the dataset metadata in the qa property with the following format:

{'openness_score_reason': 'xx', 'openness_score': 0}

This is used to display the relevant stars in the frontend, in the following templates:

  • Search facets (facet_list.html)
  • Dataset items in lists (e.g. search results) (package_item.html)
  • Dataset page (package/read_base.html)

About

A diet 5 stars of data extension

Resources

Stars

0 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages