Tuesday, March 30, 2010

DOPA population statistics 2009

A bit later than last year, now the population statistics down to subdistrict level as of December 2009 is available at the website of the Department of Provincial Administration (DOPA). I haven't looked into it in detail, only tried to import them into my parser and that worked except two obvious nonsense entries in the statistics.
  • In Nakhon Si Thammarat, the subdistrict municipality Thon Hong (เทศบาลตำบลทอนหงส์) contains 3 households from Chang Sai subdistrict (ตำบลช้างซ้าย) - even though this subdistrict is in Phra Phrom district, and not Phrom Khiri like the municipality. [Page]
  • In Surin, the subdistrict municipality Lamduan Sunphin (เทศบาลตำบลลำดวนสุรพินท์) contains one household from an entity only named "*** 32880100 ***". While the numerical code fits to a subdivision of the municipality, in these statistics only subdistricts are listed normally. [Page]
Some time ago I already posted a guide on how to read these statistics. Until I check into more detail, the main information is that the population only grew by a modest 0.2% last year.



perhenrik said...

This is extremely interesting, but I find it hard to understand the statistics. I have read your guide for the 2008 population data, and I think I got the hang of it, but want to make sure.

I would like to find the population for Nong Khae (หนองแค) in Saraburi and I find it listed on the first page for Saraburi: <a href="http://www.dopa.go.th/xstat/p5219_01.html>Saraburi page 1</a>

It says it has a population of 61,810 opposed to 88,213 found on wikipedia. So I guess this is the non-municipal population.

I also find Nong Khae on page 7 with a population of 13,092. Am I right in assuming that this is the number of people in tambon Nong Khae - the town?

And what numbers should I add to get closer to the 88,213 listed on wikipedia? Or has the population dropped?

Andy said...

The population has in fact grown slightly, it is now 88,888. Additionally to the municipality Nong Khae, you also have to add the numbers of the other municipalities in this district, i.e. Khotchasit, Phai Tam and Hin Kong. Since doing this manually is quite some work and easy to make mistakes, I have programmed something to do this automatically - see my coding project.

perhenrik said...

Thanks for the quick reply! I have tried your code and it works like a charm - in fact it is excellent and, as you say, much esier to work with than the HTML tables. Great work, thank you :)