Support Us

You are browsing the archive for 2011 February.

CKAN v1.3 Released

Rufus Pollock - February 18, 2011 in Releases

We’ve just released CKAN 1.3 which has been shown off on ckan.net during the past week. Below is a summary changelog of the major changes since we released v1.2 three months ago.

v1.3 2011-02-18

http://trac.ckan.org/milestone/ckan-v1.3

Highlights of changes:

  • Package edit form improved:
    • field instructions (#679)
    • name autofilled from title (#778)
  • Group-based access control – Authorization Groups (#647)
  • Metadata harvest job management (#739, #884, #771)
  • CSW harvesting now uses owslib (#885)
  • Package creation authorization is configurable (#648)
  • Read-only maintenance mode (#777)
  • Stats page (#832) and importer (#950) moved out into CKAN extensions

More minor:

  • site_title and site_description config variables (#974)
  • Package creation/edit timestamps (#806)
  • Caching configuration centralised (#828)
  • Command-line tools – sysadmin management (#782)
  • Group now versioned (#231)

Dev8D CKAN Workshop

Rufus Pollock - February 17, 2011 in Tutorial

This week I was at Dev8D with Jo Walsh to give a workshop on CKAN. Our focus was on showing people how to communicate with CKAN via the API and how to extend CKAN using its extension/plugin system. We’ve posted most of the resulting material on the CKAN wiki:

Additional slides should be coming soon!

Datapkg 0.8 Released

Rufus Pollock - February 14, 2011 in datapkg, Releases

A new release (v0.8) of datapkg, the tool for distributing, discovering and installing data is out!

There’s a quick getting started section below (also see the docs).

About the release

This release brings substantial improvements to the download functionality of datapkg including support for extending the download system via plugins. The full changelog below has more details and here’s an example of the new download system being used to download material selectively from the COFOG package on CKAN.

# download metadata and all resources from cofog package to current directory
# Resources to retrieve will be selected interactively
download ckan://cofog .

# download all resources
# Note need to quote *
download ckan://name path-on-disk "*"

# download only those resources that have format 'csv' (or 'CSV')
download ckan://name path-on-disk csv

For more details see the documentation of the download command:

datapkg help download

Get started fast

# 1. Install: (requires python and easy_install)
$ easy_install datapkg
# Or, if you don't like easy_install
$ pip install datapkg or even the raw source!

# 2. [optional] Take a look at the manual
$ datapkg man

# 3. Search for something
$ datapkg search ckan:// gold
gold-prices -- Gold Prices in London 1950-2008 (Monthly)

# 4. Get some data
# This will result in a csv file at /tmp/gold-prices/data
$ datapkg download ckan://gold-prices /tmp

Find out more » — including how to create, register and distribute your own ‘data packages’.

Changelog

  • ResourceDownloader objects and plugin point (#964)
  • Refactor PackageDownloader to use ResourceDownloader and support Resource filtering
  • Retrieval options for package resourcs (#405). Support selection of resources to download (on command line or API) via glob style patterns or user interaction.