[openspending-dev] Exporting an aggregation as CSV

Friedrich Lindenberg friedrich.lindenberg at okfn.org
Wed Sep 18 13:30:43 UTC 2013


That's been missing for quite a while, would be relatively easy to make and
really useful. Big +1!

- Friedrich


On Wed, Sep 18, 2013 at 1:55 PM, Vitor Baptista <vitor at vitorbaptista.com>wrote:

> Hi all,
>
> I'm trying to add a contextual download link in a visualization I'm
> developing. It's basically a treemap with 5 drilldowns and many years. I
> would like that, when the user is seeing the investiment in Basic
> Healthcare in 2012 in his neighborhood's hospital, he'll be able to
> download the same data as CSV.
>
> Basically, I would like to do something like
> http://openspending.org/api/2/aggregate?dataset=orcamento_publico&drilldown=orgao|uo&cut=time.year:2012&format=csv and
> have the result as a CSV instead of JSON. Is that possible?
>
> Cheers,
>
> Vítor Baptista
>
> Developer  |  http://vitorbaptista.com | LinkedIn<http://www.linkedin.com/in/vitorbaptista>|
> @vitorbaptista <http://twitter.com/vitorbaptista>
>
> The Open Knowledge Foundation <http://okfn.org>
>
> *Empowering through Open Knowledge*
>
> http://okfn.org/  |  @okfn <http://twitter.com/okfn>  |  OKF on Facebook<https://www.facebook.com/OKFNetwork> |
> Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter/>
>
>
> _______________________________________________
> openspending-dev mailing list
> openspending-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/openspending-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/openspending-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/openspending-dev/attachments/20130918/e97efae9/attachment.html>


More information about the openspending-dev mailing list