Legal/CivicEnglish · Thai

How ThaiGovData is built

Measured numbers

Counted by the collection, not written by hand. A figure we cannot support is left out rather than shown as zero.

Pages
139,875
2nd of 25 measured in Legal/Civic, by sitemap URLs
Page count over time
136,326 → 139,875 pages measured, 30 Sep to 29 Nov
Languages
2 languages
English · Thai
Uptime
99.99% over 30 days
From the public status feed
Deploys
23 in the last 30 days
Last deploy 22 Nov 2026. From the public status feed
llms.txt
Published
llms.txt 5 KB · llms-full.txt 16.9 KB
Sitemap
Listed in robots.txt
Content last updated
30 Nov 2026
As reported by the site itself

Tech and AI search

Read from the live site on 2026-11-08: its homepage, robots.txt and llms.txt. A line we could not read is left out.

Built with
Next.js
Read from the homepage markup
Structured data
Organization, WebSite
schema.org types on the homepage
AI crawler access
Allows all 11 major AI crawlers
From the site’s robots.txt
llms.txt link depth
26 page links
Markdown links in the site’s llms.txt
Search
Search box on the homepage

How it is built, by role

The same roles apply across the whole collection. Nothing in this block is specific to this site; what the site says about itself is quoted word for word below it.

  1. 1

    Edge network

    Visitors reach a site through an edge layer: a content delivery network with a web application firewall in front of it.

  2. 2

    Application host

    The edge talks to an application host that serves the site and renders its pages.

  3. 3

    Data

    What the pages show comes from a relational database or, for a site pre-rendered at build time, from data files built into its release.

  4. 4

    Scheduled measurement

    The collection measures its sites on a schedule: content dates and site health nightly, page counts read from each site’s sitemap weekly. Every reading is kept with its date. A site too large to re-walk is not counted as measured: its size is kept apart, shown only with how and when it was taken, and left out of every measured total. Such a site shows no trend.

  5. 5

    Public status feed

    A monitoring panel sends a signed report on uptime, deploys and backups once a day, and the Operations page publishes it. A figure on this page that comes from that report says so.

In the site's own words

Each passage is copied unaltered from a page the site publishes, with the address it was taken from and the date we took it. We add nothing between them.

“Thailand's open government data is spread across more than ten portals and is close to unsearchable in Thai. This site puts it in one place and makes it findable.”

Source: thaigovdata.com/llms-full.txt · retrieved 2026-10-24 · Verify this quote

“Merges catalogues from many portals, segments Thai so the search index works, removes duplicates, normalises dates to one calendar, and presents the result as eight sections — budget, crime, weather, public services and the rest.”

Source: thaigovdata.com/llms-full.txt · retrieved 2026-10-24 · Verify this quote

“We segment with Node's Intl.Segmenter and build a weighted full-text index — titles count for more than descriptions — with trigram similarity as a fallback when segmentation misses. The segmenter keeps some compounds whole, e.g. ตำรวจนครบาล (metropolitan police), which is a known limit rather than a solved problem.”

Source: thaigovdata.com/llms-full.txt · retrieved 2026-10-24 · Verify this quote

“Title-only matches go to a review queue and are never merged automatically, because annual editions of the same dataset share a title year after year.”

Source: thaigovdata.com/llms-full.txt · retrieved 2026-10-24 · Verify this quote

“Every figure on the site is read from the database. None is written into the code, and an automated check fails the build if anyone does.”

Source: thaigovdata.com/llms-full.txt · retrieved 2026-10-24 · Verify this quote

“Royal Thai Police crime statistics are kept at province level only. District and subdistrict are discarded, because small case counts in a small tambon identify people.”

Source: thaigovdata.com/llms-full.txt · retrieved 2026-10-24 · Verify this quote

“A substantial share of datasets state no licence at all. Absence of a licence is not permission, so those are analysed and linked back to their source rather than re-served: their download buttons point upstream.”

Source: thaigovdata.com/llms-full.txt · retrieved 2026-10-24 · Verify this quote

“If you are named and something is wrong, we check it against the source. If we displayed it incorrectly we fix it and date the fix. If our figures match the source but you believe the source is wrong, we record your statement alongside it. Where there is a clear legal or safety reason, we remove it.”

Source: thaigovdata.com/llms-full.txt · retrieved 2026-10-24 · Verify this quote

Screenshots

  • ThaiGovData website screenshot 1
  • ThaiGovData website screenshot 2
  • ThaiGovData website screenshot 3

Timeline

136,326 → 139,875 pages measured, 30 Sep to 29 Nov

Pages measured over timePages measured: 30 Sep, 136,326; 10 Oct, 136,518; 18 Oct, 136,655; 25 Oct, 136,728; 1 Nov, 136,821; 8 Nov, 136,869; 15 Nov, 135,793; 22 Nov, 137,102; 29 Nov, 139,875.136,32630 Sep136,51810 Oct136,72825 Oct136,8698 Nov139,87529 Nov
Pages measured over time
DatePages
2026-09-30136,326
2026-10-10136,518
2026-10-18136,655
2026-10-25136,728
2026-11-01136,821
2026-11-08136,869
2026-11-15135,793
2026-11-22137,102
2026-11-29139,875
  1. 30 Sep 2026136,326 pages
  2. 10 Oct 2026136,518 pages
  3. 18 Oct 2026136,655 pages
  4. 25 Oct 2026136,728 pages
  5. 8 Nov 2026136,869 pages
  6. 15 Nov 2026135,793 pages
  7. 22 Nov 2026137,102 pages
  8. 29 Nov 2026139,875 pages