Last modified: 2012-09-02 16:32:10 UTC
http://wlm.wikimedia.org/api/api.php?action=adminlevels&format=json&admtree=rs contains names that get truncated, should be like https://en.wikipedia.org/wiki/ISO_3166-2:RS
Elke, can you have a look at this?
We have adm1 information, but it's not ISO. What's the problem, afaik ISO was a nice-to-have-feature here...
adm0 and adm1 always have to be an iso code.
sent a diff with iso_okrug
3 lists updated with iso values.
Getting a warning: """ Getting 34 pages from wikipedia:sr... Found unknown field: ISO on page СпиÑак_аÑÑ ÐµÐ¾Ð»Ð¾ÑÐºÐ¸Ñ _налазиÑÑа_Ñ_СÑбиÑи Field: ISO Value: RS-04 """ The iso field is case sensitive. I'm picking up some iso codes, but not everything is filled yet: mysql> SELECT `iso_okrug`, COUNT(`iso_okrug`) FROM `monuments_rs_(sr)` GROUP BY `iso_okrug`; +-----------+--------------------+ | iso_okrug | COUNT(`iso_okrug`) | +-----------+--------------------+ | | 2113 | | RS-00 | 37 | | RS-01 | 8 | | RS-02 | 3 | | RS-03 | 3 | | RS-04 | 6 | | RS-05 | 6 | | RS-06 | 31 | | RS-07 | 38 | | RS-08 | 13 | | RS-09 | 10 | | RS-10 | 1 | | RS-11 | 7 | | RS-12 | 10 | | RS-13 | 6 | | RS-14 | 31 | | RS-15 | 10 | | RS-16 | 19 | | RS-17 | 6 | | RS-18 | 15 | | RS-19 | 10 | | RS-20 | 13 | | RS-21 | 2 | | RS-22 | 2 | | RS-23 | 6 | | RS-24 | 2 | | RS-KM | 2 | +-----------+--------------------+ 27 rows in set (0.02 sec)
one row was with "ISO" instead of "iso", fixed this. Asked the local team to check it.