[Pkg-isocodes-devel] ISO 3166 db

Chris Leonard cjlhomeaddress at gmail.com
Thu Sep 29 20:25:20 UTC 2016


Have you paged through (or scraped) the official site to fnd the discrepancy?

https://www.iso.org/obp/ui/#home

Select the Country codes radio button and return

On Thu, Sep 29, 2016 at 12:21 AM, Ron Savage <ron at savage.net.au> wrote:
> Hi
>
> I'm concerned about the discrepancy between the Debian db of
> countries/subcountries (https://pkg-isocodes.alioth.debian.org/) and the
> Wikipedia equivalent (https://en.wikipedia.org/wiki/ISO_3166-1).
>
> I'm concentrating on 'has_subcounties' and 'subcountries_in_db' here.
>
> My code to report on the Debian db says:
>
> countries_in_db => 249.
> has_subcounties => 198.
> subcountries_in_db => 4847.
> subcountry_types_in_db => 92.
>
> However, I've written a Perl module
> WWW::Scraper::Wikipedia::ISO3166 which downloads and scrapes the
> corresponding Wikipedia pages. It reports:
>
> countries_in_db => 249
> has_subcounties => 200
> subcountries_in_db => 5297
> subcountry_categories_in_db => 77
> subcountry_files_downloaded => 249
> subcountry_info_in_db => 352
>
> Anyone know why there would be such a discrepancy?
>
>
> --
> Ron Savage - savage.net.au
>
> _______________________________________________
> Pkg-isocodes-devel mailing list
> Pkg-isocodes-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-isocodes-devel



More information about the Pkg-isocodes-devel mailing list