CKAN extension to offer a list of categories defined by Provincia Autonoma di Trento
by Open Data in Trentino

ckanext patcategories

Install

pip install -e git+https://github.com/opendatatrentino/ckanext-patcategories.git#egg=ckanext-categories 

How to use

I comandi che possono essere usati per creare e cancellare nuove voci dei vocabolari presenti; i comandi vanno lanciati dalla cartella del plugin “ckanext-patform”,

start from the directory ckanext-patform (eg.

cd /where/is/ckan/ckanext-patform )

to add a term in the vocabulary

paster pat add-term <vocab_name> <new_term> -c <path to config file>

to remove a term from the vocabulary

paster pat remove-term <vocab_name> <term_to_remove> -c <path to config file>

Example

paster pat add-term category_vocab Mobilita -c /etc/ckan.ini

The terms cad be added to this different vocabularies:

  • category_vocab (Categories)
  • holders_vocab (Holders)
  • coverage_vocab (Geographical coverage)

Categories used in dati.trentino.it

Ambiente Amministrazione Conoscenza Cultura Demografia Economia Gestione del territorio Meteo Mobilita Politica Sicurezza Sport Welfare

Recent Activity