Extension Dashboard


Extension Basics

Title
Dashboard
Name
ckanext-dashboard
Type
Public extension
Description
Organize views in a single dashboard
CKAN versions
Download-Url (zip)
Last commit
3 years ago (2022-11-07 16:44:52)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

ckanext-dashboard

Sample dashboard

This extension adds a dashboard to CKAN, which provides way to organize many of the new Resource View being developed in https://github.com/ckan/ckan/tree/1251-resource-view in a single page.

Installation

This extension depends on the latest unreleased CKAN version being worked on the master branch and ckanext-viewhelpers. You have to install that first.

After that, simply clone this repository and run python setup.py install. Then add dashboard_preview to the list in ckan.plugins in your CKAN config file. Make sure to put it after viewhelpers.

Restart your webserver. You should see the new “Dashboard” chart type as an option in the view type’s list on any resource.

Usage

First of all, you need to have created the charts that will form the dashboard. Using the sample dashboard above as an example, you’d need a choropleth map (from ckanext-mapviews), a bar chart and a basic grid (both from ckanext-basiccharts) before starting the dashboard.

After you do that, go to the Manage resource page of the resource you want to create the dashboard for, and create a new Dashboard view.

When you start creating a dashboard, before you’re able to preview it and add any widgets, you need to decide it’s title (you can change it later). Go ahead and write My Dashboard in the title input and click on Preview.

You should see a boring, empty dashboard at the bottom of the page. If you’re paying attention, you’d notice that the Add widget and Add widget from URL buttons are now activated. Let’s go ahead and start our first widget.

Click on the Add widget button. You should see something similar to:

Add widget dropdown

There you’d see a list of every resource

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
dashboard
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions