Extension VDOJ Stats


Extension Basics

Title
VDOJ Stats
Name
ckanext-vdojstats
Type
Public extension
Description
Statistic function for Victoria Department of Justice CKAN portal. Provides PDF report generation and export functionality.
CKAN versions
Download-Url (zip)
Last commit
9 years ago (2017-02-10 03:11:08)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

ckanext-vdojstats

Statistic function for Victoria Department of Justice CKAN portal.

Requirements

Installment of the PDF libraries

pip install -r pip-requirements.txt

Tweaking for xhtml2pdf with reportlab 3.0

  1. Open file /usr/lib/ckan/default/local/lib/python2.7/site-packages/xhtml2pdf/util.py
  2. Comment out the old reportlab version check
  3. Add updated version check for reportlab 3.0 compatibility

Configuration

Add the below anywhere after the declaration of ‘ckan.site_id’ into your ini file:

vdojstats.export_dir = /tmp/export/%(ckan.site_id)s/
vdojstats.export_header = Victoria DoJ

License

No license specified.

Version
1.0
Version release date
2014-05-05
Contact name
XVT Solutions
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Requires xhtml2pdf and reportlab for PDF generation. Python 2 only. No CKAN version compatibility stated, estimated ~2.2 based on era.

Plugins to configure (ckan.ini)
vdojstats
CKAN Settings (ckan.ini)
vdojstats.export_dir, vdojstats.export_header
DB migration to be executed
(not set)
<< back to Extensions