Helpers for creating views for CKAN