Find official statistics with AI
Ask a specific question of a PxWebApi v2 statistics service. Get the figures with the table, units and time period needed to quote them accurately.
To find official statistics with AI, start with the agency and the question you need to answer. A count of households and a percentage of residents can carry strikingly similar table titles. The generic-pxweb-v2-skill checks the table description and the available dimensions before selecting the codes to send.
The service supplies the observations. An agent can explain how a series changed and attach the source, but a year that has not been published stays missing. If a request would exceed the agency’s cell limit, narrow it to the years, regions or categories that matter.
What it does
- Find the table behind a figure for a council briefing.
- Select two comparable periods without requesting an entire database.
- Check whether a published value is a count, percentage or index.
- Tell a suppressed observation apart from an actual zero.
- Keep the table identifier and relevant footnotes with a chart caption.
Install and use
- Use an agent with HTTP access or a compatible statistics connector and identify a PxWebApi v2 endpoint.
- Try “Compare the latest two available years for this age group and give me the table identifier.”
- Inspect the units, period labels and source notes before reusing the figures. The agency sets the terms for its data.
FAQ
Source
Made by Jan Bruusgaard. Original skill: generic-pxweb-v2-skill, published on GitHub under the MIT licence.
View on GitHub