Stat Ee Find Table
stat_ee_find_tableSearch Statistics Estonia (Statistikaamet) for ESTONIA official statistics tables by plain-English keyword — "average monthly wage", "population", "GDP", "unemployment", "consumer price index", "births", "exports". Returns each matching table with its full ready-to-use path, its English label chain (e.g. "Economy > Wages and salaries and labour costs > Wages and salaries"), and whether it is a folder or a table. START HERE for any question about Estonian data. Set fetch_latest:true to also return the most recent figures from the top-matching table in one call — useful for "what is the current X in Estonia" questions. Otherwise hand the returned path to table_meta, then query_table, to get the figures. Searches English labels, so English words find the table even though the path ids themselves are Estonian slugs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional sub-path to search under, e.g. "majandus" (Economy) or "rahvastik" (Population). Default searches the whole tree. | |
| limit | No | Max matches to return (default 25, max 100). | |
| query | Yes | Plain-English words describing the statistic, e.g. "average monthly wage", "unemployment rate", "population by county". All words must appear somewhere in a match's label chain. | |
| max_depth | No | Levels of the subject tree to walk below the starting path (default 5, max 6). Tables sit 4-5 levels below the root. | |
| fetch_latest | No | When true and the top match is a queryable table (.px), automatically fetches the most recent period's data from that table and includes it as "latest_data" in the response. Use this when you want the actual figure ("what is the average monthly wage in Estonia?") rather than just discovering the table path. Default false. |