Statcan Cube Vectors
statcan_cube_vectorsEnumerate the vector IDs inside a StatCan cube (table) — the missing link between a table number/name (e.g. "32-10-0121-01" or "Production and disposition of eggs") and statcan_series, which needs a specific vector id. Every StatCan question starts with a table, but nothing else in this pack lists a table's vectors. Returns one row per dimension-member combination: vector_id, coordinate, and the member label for every dimension (e.g. GEO=Canada, Production and disposition=Average number of layers). Filter by dimension name/value (e.g. {"GEO":"Canada"}) to narrow a large table — unfiltered dimensions include ALL their members, which can be thousands of rows, so use filters plus limit/page. Then pass any returned vector_id to statcan_series for the actual data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based (default 1). | |
| limit | No | Max vector rows per page (default 100, max 500). | |
| filters | No | Optional dimension filters, e.g. {"GEO": "Canada"} or {"Geography": "British Columbia"}. Keys match by case-insensitive substring against the cube's dimension names (so "GEO" matches "Geography"); values match by case-insensitive substring against member names. Dimensions with no filter include every member. | |
| product_id | Yes | Cube product ID, either form: "32100121" or the table number "32-10-0121-01". |