Wednesday, February 20, 2013

Local government terms 2009-2012

The task which kept me busy the last months was to add election data to my XML files reached a first milestone. On the website of the Election Commission, I originally found an Excel sheet with all the term ends of the local government councils and mayors in 2012, and after some more searching another Excel file for 2009 and two PDFs for 2010 and 2011. Since those files cover the last four years, in principle I should now have data for every local government unit. But actually, a few are still without - those which ended their term in 2008, but had the next election in 2009 are missing, especially the TAO upgraded to municipalities in 2008. Nevertheless an impressive number of local government units:
YearTAOThesabanPAO
2012220183876
20115503333
2010752101
200935892371
An example entry in the XML, taken from the subdistrict municipality Khlong Cha-un in Surat Thani, looks like this
<council>
  <term begin="2012-12-16" type="ThesabanTambon" size="12" />
  <term begin="2008-11-09" end="2012-11-08" type="ThesabanTambon" size="12" />
  <term begin="2004-07-25" end="2008-06-30" type="TAO" size="26" endreason="StatusChange" /> 
</council>
Notice that the last term as a TAO ended about one month before the nominal end of term because the upgrade was effective a little earlier than in most cases - normally the upgrade happens on the day after the term ended. Such cases of prematurely ended terms are the most interesting ones, and will write up some articles on some types of premature ends - the end due to a status change is the least interesting one.

And I am not yet done with this huge task of adding term data, in the meantime the term ends in this year were published as a PDF, and I also found another PDF with the data for 2008. This year there will be a total of 3596 term ends, again a lot of TAO end their term since it is 4th four year period since 1997 when 3637 TAO were created. And again a significant number of these I expect to be upgraded to municipalities this year.

No comments: