Reputation: 2335
In CKAN how do I list all the dataset resources with a table / entry in the DataStore?
That is, put a different way, can I find out what dataset resources have data loaded into the DataStore?
Also can I just list all the entries / tables in the DataStore?
Upvotes: 1
Views: 1265
Reputation: 5925
There is a special view _table_metadata
that contains all tables and views in the datastore. Although, it is mainly used for internally, it can also be used to get a full list of all datastore resources.
Example call: http://demo.ckan.org/api/action/datastore_search?resource_id=_table_metadata
See the docs for details about the _table_metadata
view.
Upvotes: 2