In CKAN how do I list all the dataset resources with a table / entry in the DataStore?

StackOverflow https://stackoverflow.com/questions/18278356

  •  24-06-2022
  •  | 
  •  

Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top