[okfn-labs] New post: A Data API for Data Packages in Seconds Using CKAN and its DataStore

Rufus Pollock rufus.pollock at okfn.org
Fri Sep 12 14:17:30 UTC 2014


Wanted to highlight a new post:

"A Data API for Data Packages in Seconds Using CKAN and its DataStore"

http://okfnlabs.org/blog/2014/09/11/data-api-for-data-packages-with-dpm-and-ckan.html

<quote>

dpm the command-line ‘data package manager’ now supports pushing (Tabular)
Data Packages <http://data.okfn.org/standards> straight into a CKAN instance
<http://ckan.org/> (including pushing all the data into the CKAN DataStore
<http://docs.ckan.org/en/latest/maintaining/datastore.html>):

dpm ckan {ckan-instance-url}

This allows you, in seconds, to get a fully-featured web data API –
including JSON
<http://docs.ckan.org/en/latest/maintaining/datastore.html#ckanext.datastore.logic.action.datastore_search>
 and SQL-based
<http://docs.ckan.org/en/latest/maintaining/datastore.html#ckanext.datastore.logic.action.datastore_search_sql>
query
APIs:

[Nice Gif that shows how this works]
http://assets.okfnlabs.org/p/dpm/img/dpm-ckan.gif

</quote>

This also means you can load CSV data into the CKAN DataStore really
quickly:

```
cd /directory/where/csv/is
# this will create a basic datapackage.json including guessing types of CSV
columns
dpm init
dpm ckan http://datahub.io/
```

Regards,

Rufus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/okfn-labs/attachments/20140912/c38278b5/attachment-0003.html>


More information about the okfn-labs mailing list