Extension Dapr


Extension Basics

Title
Dapr
Name
ckanext-dapr
Type
Public extension
Description
CKAN extension for retrieving Digital Analytics Program tracking data.
CKAN versions
Download-Url (zip)
Last commit
a year ago (2024-07-31 18:59:50)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

CKAN Google Analytics Extension

Status: Production

CKAN Version: >= 2.9.*

A CKAN extension that retrieves statistics from the Digital Analytics Program (DAP) for insertion into CKAN pages.

Features

  • Retrieves download events tracked by DAP and records them for later retrieval.

  • Enables listing the datasets accessed most frequently.

  • Enables displaying an access count for datasets and resources.

  • Tracks all accesses to resources indexed in a CKAN instance, whether the access originated from the CKAN instance or some other DAP-enabled website.

Installation

  1. Install the extension as usual, (e.g. from an activated virtualenv):

    ::

    $ pip install -e git+https://github.com/katucker/ckanext-dapr.git $ pip install -r ckanext-dapr/requirements.txt

  2. Edit your ckan.ini (or similar) to provide the parameters below for retrieving and displaying tracking data.

    :: ckanex.dapr.retrieval_agency = ckanext.dapr.keyfile = ckanext.dapr.show_downloads = <True to display on a resource’s page how many times it has been downloaded.> ckanext.dapr.api_url = ckanext.dapr.batch_size = <The number of tracking events to

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


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
dap dapr
CKAN Settings (ckan.ini)
# ckanext.dapr.keyfile = <Full path to a file containing the API key to
# ckanext.dapr.show_downloads = <True to display on a resource's page
# ckanext.dapr.api_url = <The web location to use for the DAP API. 
# ckanext.dapr.batch_size = <The number of tracking events to retrieve in
DB migration to be executed
(not set)
<< back to Extensions