Extension FSO Harvester


Extension Basics

Title
FSO Harvester
Name
ckanext-fso
Type
Public extension
Description
Harvester for the Swiss Federal Statistical Office (FSO). Enables CKAN to harvest and import datasets from the FSO data portal.
CKAN versions
Download-Url (zip)
Last commit
12 years ago (2014-02-19 16:53:47)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

ckanext-fso

Harvester for the Swiss Federal Statistical Office (FSO).

Installation

Use pip to install this plugin. This example installs it in /home/www-data

source /home/www-data/pyenv/bin/activate
pip install -e git+https://github.com/ogdch/ckanext-fso.git#egg=ckanext-fso --src /home/www-data
cd /home/www-data/ckanext-fso
pip install -r pip-requirements.txt
python setup.py develop

Make sure to add fso and fso_harvester to ckan.plugins in your config file.

For development

  • install the pre-commit.sh script as a pre-commit hook in your local repositories:
    • ln -s ../../pre-commit.sh .git/hooks/pre-commit

Run harvester

source /home/www-data/pyenv/bin/activate
paster --plugin=ckanext-fso harvester gather_consumer -c development.ini &
paster --plugin=ckanext-fso harvester fetch_consumer -c development.ini &
paster --plugin=ckanext-fso harvester run -c development.ini

Note: This repository was archived by the owner on Jan 4, 2022. It is now read-only.

Version
1.0.3
Version release date
2014-02-20
Contact name
ogdch
Contakt email
(not set)
Contact Url


Installation Guide

Configuration hints

Requires ckanext-harvest to be installed. Uses paster commands for running harvester consumers.

Plugins to configure (ckan.ini)
fso fso_harvester
CKAN Settings (ckan.ini)
# No specific environment variables documented
DB migration to be executed
(not set)
<< back to Extensions