Extension FAIR Data Point Harvester


Extension Basics

Title
FAIR Data Point Harvester
Name
ckanext-fairdatapoint
Type
Public extension
Description
CKAN harvester for FAIR Data Points. Enables harvesting catalogs and datasets from FAIR Data Point endpoints with customizable application profiles.
CKAN versions
Download-Url (zip)
Last commit
a year ago (2024-03-22 15:15:38)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

FAIR Data Point Harvester

CKAN harvester for FAIR Data Point. Contains a harvester for FAIR data points. In the future, the FAIR data point API might be supported by this extension too.

Requirements

  • CKAN 2.9 (tested), 2.8/2.10 not tested
  • ckanext-scheming
  • ckanext-harvest
  • ckanext-dcat

Features

The harvester runs in three stages:

  1. Gather stage: Uses FairDataPointRecordProvider to create list of identifiers (catalogs and datasets) for harvest
  2. Fetch stage: Downloads source data, may include additional data from other sources
  3. Import stage: Maps RDF from FAIR data point to CKAN packages/resources using application profiles

Installation

git clone https://github.com/CivityNL/ckanext-fairdatapoint.git
cd ckanext-fairdatapoint
pip install -e .
pip install -r requirements.txt

Add fairdatapoint to ckan.plugins in your CKAN config file.

Dependencies

pip install -e 'git+https://github.com/ckan/ckanext-scheming.git@release-3.0.0#egg=ckanext-scheming[requirements]'
pip install -e 'git+https://github.com/ckan/ckanext-harvest.git@v1.5.6#egg=ckanext-harvest[requirements]'
pip install -e 'git+https://github.com/ckan/ckanext-dcat.git@v1.5.1#egg=ckanext-dcat'

Harvester Configuration

Set the profile for harvesting:

{ "profiles": "fairdatapoint_dcat_ap" }

Commands

# Run harvester from command line
ckan --config=<full path to CKAN ini-file> harvester run-test <id of harvester>

# Rebuild search index
ckan --config=<full path to CKAN ini-file> search-index rebuild
Version
0.0.3
Version release date
2024-03-22
Contact name
CivityNL
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Add ‘fairdatapoint’ to ckan.plugins. Requires ckanext-scheming, ckanext-harvest, and ckanext-dcat. Configure harvester with profiles setting.

Plugins to configure (ckan.ini)
fairdatapoint
CKAN Settings (ckan.ini)
# Harvester configuration (in harvester config, not ini file)
# { "profiles": "fairdatapoint_dcat_ap" }
DB migration to be executed
(not set)
<< back to Extensions