Extension Datapackager


Extension Basics

Title
Datapackager
Name
ckanext-datapackager
Type
Public extension
Description
CKAN extension for importing/exporting Data Packages.
CKAN versions
Download-Url (zip)
Last commit
3 years ago (2022-10-20 10:52:29)
Url to repo
Category
Standards Compliance


Background Infos

Description (long)
Show details

Tests Coverage Status

CKAN Data Packager

This extension adds importing and exporting of [Data Packages][data-packages] to [CKAN][ckan] datasets.

Requirements

  • CKAN >= 2.8

Installing

To install ckanext-datapackager into a CKAN instance, do:

  1. If you’re using a virtual environment for CKAN, activate it doing, for example:

    source /usr/lib/ckan/default/bin/activate
    
  2. Install the extension:

    git clone https://github.com/frictionlessdata/ckanext-datapackager.git
    cd ckanext-datapackager
    python setup.py develop
    pip install -r requirements.txt
    
  3. Add datapackager to the ckan.plugins setting in your CKAN config file;

  4. Restart CKAN.

Using

Web Interface

Importing

Importing Data Package

  1. Visit the Dataset list page (e.g. http://your-ckan-address.com/dataset)
  2. Click on Import Data Package button;
  3. Upload or link to a Data Package JSON or ZIP file;
    • Depending on your CKAN configuration, you might also need to define the dataset’s organization and visibility here.
  4. Review the created dataset.

Exporting

Exporting CKAN Dataset as Data Package

  1. Go to the dataset’s page;
  2. Click on Download Data Package button.

API

The extension provides two API actions for importing (package_create_from_datapackage) and exporting (package_show_as_datapackage) Data Packages on CKAN.

For more information on their parameters and return values, check the docstrings inside the files at [ckanext/datapackager/logic/a

Version
1.1.0
Version release date
2022-08-17
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
  • CKAN >= 2.8
Plugins to configure (ckan.ini)
datapackager
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions