Skip to content
RAG Repo

Government & public sector

Open data published by national, regional, and local governments covering demographics, economics, health, transport, environment, and more.

13sources

Government and public sector data is the official record: statistics, budgets, health indicators, company registers, transport figures, and the day to day business of national, regional, and local government. For a RAG (Retrieval-Augmented Generation) system, it is some of the most trustworthy material you can retrieve, because it comes straight from the body responsible for it rather than a secondhand summary. If you are building anything that answers questions about a country’s economy, population, public services, or laws, this is where the authoritative numbers live.

Choosing within it is really about scope and structure. National statistics offices and broad open data portals publish well documented datasets under permissive terms, while specialist bodies go deep on one area such as health, policing, or company filings. The trade-off is rarely quality, since official data is usually reliable, but coverage and granularity: a national portal gives you breadth, a dedicated agency gives you the fine detail. Decide how local and how current you need to be before you pick.

Two things catch people out. First, format: a lot of government data still arrives as spreadsheets, PDFs, or bespoke XML, so you will often need to extract and reshape it into clean text before it is useful for retrieval. Second, licensing: most of this is genuinely open, frequently under the Open Government Licence (a permissive licence that allows reuse with attribution), but always check, because some datasets carry extra conditions or personal data restrictions.

The sources below range from broad national portals to focused agencies covering statistics, health, policing, and company records.

Other categories