Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect Ckan to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Ckan.
Implementation
You can connect CKAN by creating a CKAN API client. In this handler, you can create a CKAN API client with ckanapi.Some CKAN instances require you to provide API key. You can find it in the CKAN user panel.
datastore_search_sql
action supports raw SQL commands to be used to search for the data.
Here is an example: