Extension Datasetpreview


Extension Basics

Title
Datasetpreview
Name
ckanext-datasetpreview
Type
Public extension
Description
The **Dataset Preview** extension for CKAN aims to automatically generate charts for datasets withi
CKAN versions
Download-Url (zip)
Last commit
4 years ago (2021-08-24 22:19:03)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

GitHub All Releases GitHub Issues GitHub PR Licence Pypi py version Last Commit

CKAN dataset preview

Still in a develpment status

Adds automatically charts for all datasets in the dataset list. Uses messytables to discover field types.

How to set up?

General extension config values

Available config options

# Define if the extension should draw chart for
# - 'ALL'    All datasets with a CSV resource
# - 'EXTRA' Just datasets with the 'dataset_preview' extra dictionary defined
# - 'NO'     No datasets with show any preview
ckanext.datasetpreview.draw = 'ALL'  # default draw all
ckanext.datasetpreview.chart_height = 300  # pixels

Each dataset could add and extra value with the key dataset_preview:

“`js extras[“dataset_preview”] = { // field to use in the chart. Could be: // - A list of field names (valids in the CSV resource) // Default will be [0, 1] ( the first two columns in the CSV). You could use numbers instead of field names “fields”: [“Field1”, “Field2”],
“chart_type”: “Bar”, // Allows ‘Pie’, ‘Ba

Version
0.2.31
Version release date
2020-08-29
Contact name
CKAN para universidades argentinas
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
datasetpreview
CKAN Settings (ckan.ini)
# ckanext.datasetpreview.draw = 'ALL'  # default draw all
# ckanext.datasetpreview.chart_height = 300  # pixels
DB migration to be executed
(not set)
<< back to Extensions