Code Monkey home page Code Monkey logo

Comments (6)

yoshimaru7 avatar yoshimaru7 commented on August 15, 2024

同じ郵便番号でも異なる選挙区があるという情報を得ました(下記は一例で、他にもあるようです)。
問題ありませんか?

港区海岸3丁目は
第1区が、4番から13番まで、20番、21番及び31番から33番まで
第2区が、1番から3番まで、14番から19番まで及び22番から30番まで
となっていて、郵便番号も同じ(108-0022)

from codeforelection.

tetsuyas1 avatar tetsuyas1 commented on August 15, 2024

承知しました。
対応が困難ですので、例外として注記しておきたいと思います。

from codeforelection.

yoshimaru7 avatar yoshimaru7 commented on August 15, 2024

了解です。全般まとめて一言注記で済ませますか?それとも同様のケースの一覧があるとベターですか?

from codeforelection.

yoshimaru7 avatar yoshimaru7 commented on August 15, 2024

備忘録として入れておきます。今回の選挙区割りの一覧。
http://www.soumu.go.jp/senkyo/senkyo_s/news/senkyo/shu_kuwari/
これがデータ構造をなしてない事が諸悪の根源で、これ何とかする所から手を付けないと、やばい気がしてきた。(というのを、Code for Japanで出来ないのかな)

from codeforelection.

halsk avatar halsk commented on August 15, 2024

例外注記を書くということになったので、再Closeします。

from codeforelection.

akiranszw avatar akiranszw commented on August 15, 2024

選挙区のポリゴンデータを作成した西沢です。2選挙区に分かれる町域(丁目単位で異なる、あるいは、1つの丁目が分割されている)をチェックしました。その中には町域が2つの郵便番号に分かれるものも見つかりました。チェックにはポリゴン作成時に作成した2選挙区に分割された町丁字リストと、町丁字と選挙区の対応表から丁目により異なる選挙区になっている町域を機械的に抽出した結果を利用しました。この他に同じ名前の大字と丁目の町域がある場合に、大字と丁目で選挙区が異なる可能性もありますが、コード番号で照合できないので、このケースは分かっていた範囲の1箇所だけ抽出しました。これらを反映して、postal2senkyoku.jsonを修正しました。また、1つの郵便番号が2つの選挙区に分かれるもののリストを作成しました。
postal2senkyoku20171004.zip
2選挙区に分かれる郵便番号.xlsx

from codeforelection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.