Extension Knowledge Hub


Extension Basics

Title
Knowledge Hub
Name
ckanext-knowledgehub
Type
Public extension
Description
Main extension for Knowledge Hub on Displaced Populations in MENA Region. Features themes, dashboards, visualizations, research questions, predictive search with RNN, and data quality metrics.
CKAN versions
Download-Url (zip)
Last commit
4 years ago (2021-04-23 13:43:04)
Url to repo
Category
Corporate & Business


Background Infos

Description (long)
Show details

ckanext-knowledgehub

This is the main repo for the Knowledge Hub on Displaced Populations in the MENA Region. All of the CKAN customizations are added in this extension.

Features

  • Themes and Sub-themes management
  • Dashboards
  • Visualizations
  • Research Questions
  • Predictive Search (RNN-based)
  • Data Quality Metrics
  • HDX Integration
  • OAuth2 (Azure accounts)
  • spaCy for NLP/User Intents

Requirements

This extension requires CKAN 2.8.x version.

Additional Requirements

  • Data Requests (ckanext-datarequests)
  • Validation (ckanext-validation)
  • OAuth2 (ckanext-oauth2)

Installation

To install ckanext-knowledgehub:

  1. Activate your CKAN virtual environment:

    . /usr/lib/ckan/default/bin/activate
    
  2. Install the ckanext-knowdledgehub Python package:

    pip install ckanext-knowledgehub
    
  3. Initialize the tables:

    knowledgehub -c /etc/ckan/default/production.ini db init
    
  4. Add knowledgehub to the ckan.plugins setting in your CKAN config file.

  5. Restart CKAN.

Config Settings

  • ckanext.knowledgehub.themes_per_page = 20
  • ckanext.knowledgehub.sub_themes_per_page = 20
  • ckanext.knowledgehub.dashboards_per_page = 20
  • ckanext.knowledgehub.rnn.* (predictive search settings)
  • ckanext.knowledgehub.hdx.* (HDX integration)
  • search.facets = organization groups tags

Commands

  • knowledgehub db init - Initialize tables
  • knowledgehub search-index rebuild - Rebuild search index
  • knowledgehub intents update - Update user intents
  • knowledgehub predictive_search train - Train predictive search model
Version
0.0.1
Version release date
(not set)
Contact name
Keitaro Inc.
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Requires multiple additional extensions: ckanext-datarequests, ckanext-validation, ckanext-oauth2. Database initialization required. Configure HDX, RNN settings, OAuth2.

Plugins to configure (ckan.ini)
knowledgehub
CKAN Settings (ckan.ini)
# ckanext.knowledgehub.themes_per_page = 20
# ckanext.knowledgehub.hdx.api_key = <API_KEY>
# ckanext.knowledgehub.hdx.site = test
# ckanext.knowledgehub.hdx.owner_org = <ORG_ID>
DB migration to be executed
knowledgehub -c /etc/ckan/default/production.ini db init
<< back to Extensions