nickatomlin / DKAN

Building a transparency portal for Rhode Island municipalities.
GNU General Public License v2.0
0 stars 0 forks source link

Implement filtered exports #2

Open nickatomlin opened 8 years ago

nickatomlin commented 8 years ago

The ability to filter a file before exporting is a crucial feature of the site and is not included by default in the base version of DKAN. Hopefully it exists as either an option or an extension; if not, we may need to write the functionality ourselves or look elsewhere for data portal options.

I've posted a question to the DKAN Developers group, but haven't gotten a response yet.

nickatomlin commented 8 years ago

Got this response in the Google Group:

Not via the data previews currently, no. The API can be used to retrieve filtered results in XML or JSON: http://docs.getdkan.com/docs/dkan-documentation/dkan-api/datastore-api

and more advanced querying functionality is in the works:

https://github.com/NuCivic/dkan_datastore/pull/69

It looks like there is some functionality in recline that could provide this right in the preview but something like this isn't on our road map. Please feel free to submit a PR though if you want to try forking recline!

https://github.com/okfn/recline/issues/26