Data Qatar

v0.2.1
io.github.pipeworx-io/data-qatar Checked 1 day ago Published 1 month ago

Qatar government open data — population, economic indicators, trade, and SDG social statistics…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_datasets

Search Qatar government open data for datasets by keyword (population, economic indicators, trade, labor, environment, SDG social statistics). Returns dataset_ids (pass to query/dataset_info), bilingual English/Arabic titles, and record counts.

ParameterTypeDescription
limitnumberMax datasets (1-100, default 20).
offsetnumberPagination offset (default 0).
querystringKeyword(s) to search dataset titles/descriptions, e.g. "population".

dataset_info

Get metadata for one Qatar government open data dataset (field schema with English/Arabic labels, record count, description) — call before query to learn the column names.

ParameterTypeDescription
dataset_id *stringDataset id from search_datasets.

query

Query records from a Qatar government open data dataset with ODSQL. Filter (where), aggregate (group_by/select), sort (order_by), paginate (limit/offset). Field labels come back as label_en/label_ar — dataset_ids and field names stay in their native form.

ParameterTypeDescription
dataset_id *stringDataset id from search_datasets.
group_bystringODSQL group_by field(s).
limitnumberMax records (1-100, default 20).
offsetnumberPagination offset (default 0).
order_bystringSort, e.g. `year desc`.
querystringFree-text keyword across all fields (optional).
selectstringODSQL select/aggregation, e.g. `count(*) as n, sum(amount)`.
wherestringODSQL filter, e.g. `year >= 2020` (overrides query).