Browse the PSA OpenSTAT catalog
browse_psa_catalogNavigate the PSA OpenSTAT catalog level by level to locate statistical tables without needing table IDs. Browse subjects and folders until dataset entries appear.
Instructions
List one level of the PSA OpenSTAT statistical catalog.
OpenSTAT publishes roughly 2,900 tables across 27 subjects. This walks
that tree one level at a time, so an agent can find a dataset without
guessing a table id. A dataset entry is a .px table. Pass its path
to describe_psa_dataset before calling query_psa_dataset. Folder depth
varies by subject, so keep browsing until entries come back as datasets. Examples:
browse_psa_catalog() the 27 top-level subjects browse_psa_catalog("1F") one level into the Poverty subject browse_psa_catalog("1F/FY") the Full Year Poverty Statistics tables
On failure: data_status is "invalid_request" for a rejected argument and "unavailable" for an OpenSTAT outage. A bad path sets validation_error true before any request goes out. An unreachable catalog sets upstream_error true, with the real error in caveats. Both return an empty entries list, which never means an empty folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative catalog path such as "1F" or "1F/FY". None or "" returns the 27 top-level subjects. Use the `path` field of an entry from a previous call to go one level deeper. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| path | No | Relative path browsed. | |
| source | Yes | Upstream data source name. | |
| caveats | Yes | ||
| entries | Yes | ||
| license | No | ||
| source_url | Yes | Canonical OpenSTAT URL used. | |
| parent_path | No | ||
| folder_count | No | ||
| dataset_count | No | ||
| upstream_error | No | True when OpenSTAT was unreachable. Not an empty result. | |
| validation_error | No | True when the caller's arguments were rejected before any request. | |
| data_retrieved_at | Yes |