CensusMapper Datasets
censusmapper.census.list_datasetsFind Canadian census datasets (1996–2021) with IDs, descriptions, and references, optionally filtered by a text query, to select the correct dataset ID for data access.
Instructions
List the Canadian census datasets available through CensusMapper (1996 to 2021 Statistics Canada censuses) with their dataset ids, descriptions and references. Use the dataset id with censusmapper.data. Source: Statistics Canada.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Case-insensitive text filter over dataset id and description (e.g. "2021") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |