search_datasets
Find datasets from Hong Kong's open data portal by searching titles, descriptions, and metadata. Use keywords to discover relevant public data resources for analysis and research.
Instructions
Search for datasets by query term using the package_search API.
This function searches across dataset titles, descriptions, and other metadata to find datasets matching the query term.
Args: query: The solr query string (e.g., "transport", "weather", ":" for all) limit: Maximum number of datasets to return (default: 10, max: 1000) offset: Offset for pagination language: Language code (en, tc, sc)
Returns: A dictionary containing: - count: Total number of matching datasets - results: List of matching datasets (up to limit) - has_more: Boolean indicating if there are more results available
Input Schema
Name | Required | Description | Default |
---|---|---|---|
language | No | en | |
limit | No | ||
offset | No | ||
query | No | *:* |