okfn / ckanclient-deprecated

DEPRECATED - please see https://github.com/ckan/ckanapi. [Python client library for CKAN]
http://pypi.python.org/pypi/ckanclient
25 stars 17 forks source link

Does anyone have some IPython Notebooks they could share using ckanclient? #27

Closed rsignell-usgs closed 10 years ago

rsignell-usgs commented 11 years ago

Does anyone have some IPython Notebooks they could share using ckanclient? My google search of "ckan ext:ipynb" didn't turn up anything except for a notebook I created to test the CKAN CSW service.

Thanks, Rich

rufuspollock commented 11 years ago

@rsignell-usgs could you explain in a bit more detail what you need for the ipython notebook - do you mean a demo of a notebook that uses ckanclient to access data?

rsignell-usgs commented 11 years ago

@rgrp: Exactly. I'm thinking something like this CSW demo notebook, but for the CKAN API: http://nbviewer.ipython.org/urls/raw.github.com/rsignell-usgs/ipython-notebooks/master/CSW_Testing_ISO_Queryables.ipynb

rsignell-usgs commented 10 years ago

Okay, I guess that's a no. ;-) Any python examples of searching for records using keywords, data start and stop stop time, geographic bounding box, and serviceType (e.g. WMS)?

rufuspollock commented 10 years ago

@rsignell-usgs sorry for slow follow-up! Would suggest asking on ckan-discuss list - http://lists.okfn.org/mailman/listinfo/ckan-discuss

rufuspollock commented 10 years ago

@zephod I hear you are a dab hand with ipython notebooks. Would you have any relevant examples to share here?

teajaymars commented 10 years ago

I have done an open ETL pipeline as part of a viz project at http://data.gov.uk/data/viz/social-investment-and-foundations. So the ETL script is an iPython notebook linked from there.

You can see it starts off using ckanclient but doesn't get anywhere serious with it. But in this case, the advantage of iPython notebook was to be transparent about how official graphs are being cooked, rather than doing a tech demo of a library's capabilities. (Direct link http://nbviewer.ipython.org/gist/zephod/7708219)

rsignell-usgs commented 10 years ago

@zephod. Nice example! Also, thanks to help from "D Read" on stackexchange (http://opendata.stackexchange.com/questions/1286/catalog-data-gov-using-ckan-api-with-python-requests-package) I was able to get a IPython Notebook example going with keyword, geospatial, and data endpoint search terms: https://www.wakari.io/sharing/bundle/rsignell/Testing%20CKAN%20API%20on%20data.gov Shines a bright light on all the metadata work we need to do....