ckanext-iota
Plugin para sincronizar dados do IOTA com uma instância do CKAN.
Dependencies
- CKAN >= 2.0
- ckanext-harvest (http://github.com/okfn/ckanext-harvest)
Installation
Install the plugin in your Python environment:
pip install -e git+https://github.com/AwareTI/ckanext-iota.git#egg=ckanext-iota
Add harvest and iota_harvester plugins to the ckan.plugins line in your CKAN configuration file.
Usage
Go to the page to create a new Harvest Source in CKAN, usually at /harvest/new
In the URL field, put the address of the dataset you want to import from Iota. For example, to import São Paulo, put http://indicadores.cidadessustentaveis.org.br/br/sp/sao-paulo (don’t forget the http://). Add the title and description of your preference.
Select Iota in Source type. If it doesn’t appear here, there was a problem in your installation.
Click save.
Adding datasets to groups
You can configure the plugin to automatically add datasets to one or more groups when they are imported. To do this, add the following in the Harvest Source Configuration field:
{ "groups": ["brasil", "sao-paulo"] }