郵便番号から住所補完(JSON作成)
日本郵便のサイトhttp://www.post.japanpost.jp/zipcode/dl/kogaki/zip/ken_all.zipからKEN_ALL.CSVをダウンロードする。
ダウンロードしたCSVファイルの文字コードをUTF8に変換する。
#nkf -w KEN_ALL.CSV
事前に./dataディレクトリを書き込み可能にしてから、perlファイルの作成実行をしてください。
これで最新の郵便番号3桁毎のJSONファイルが取得できます。
補足)perlの知識はほとんどないのでプログラムは雑ですがちゃんとjsonファイルの作成はできます。
ダウンロードしたCSVファイルの文字コードをUTF8に変換する。
#nkf -w KEN_ALL.CSV
事前に./dataディレクトリを書き込み可能にしてから、perlファイルの作成実行をしてください。
これで最新の郵便番号3桁毎のJSONファイルが取得できます。
補足)perlの知識はほとんどないのでプログラムは雑ですがちゃんとjsonファイルの作成はできます。
Hеllo there! I know this iis kinda off topic hlwever
, Ι'd figured І'd ask. WouⅼԀ you bе intewrested in trading links oг mɑybe guest writing a blog article ⲟr vice-versa?
Μy website discuses а llot of the same subjects as уourѕ and
I feel ᴡe could greatly benefit from еach оther. Іf үou're interеsted
feel free tߋ send me an email. I look forward tοo hearing fгom you!
Awesome blog bү thhe ᴡay!
by Frankie (2021-11-15 00:22)