ckanext-powerview
Data source and configuration to power a view for one or more resources.
Requirements
Requires CKAN 2.3+
Installation
To install ckanext-powerview:
Activate your CKAN virtual environment:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-powerview Python package:
pip install ckanext-powerview
Install dependencies:
pip install -r requirements.txt
Create the database tables:
paster --plugin=ckanext-powerview powerview init --config=production.ini
Add powerview to the ckan.plugins setting in your CKAN config file.
Restart CKAN.
Configuration Settings
# If True, all logged in users will be able to create, delete and update
# their own Powerviews. Default is False.
ckanext.powerview.allow_user_create = true
API
All actions in the PowerView extension are available in the CKAN Action API:
powerview_create — create a new powerview (sysadmins only)
powerview_update — update an existing powerview (sysadmins only)
powerview_delete — delete a powerview (sysadmins only)
powerview_show — show a powerview
powerview_resource_list — list resources in a powerview
powerview_add_resource — add a resource to an existing powerview
powerview_remove_resource — remove a resource from a powerview
powerview_list — list of powerviews available to user
License
AGPL-3.0