Skip to content

Releases: commerble/postal

0.0.10

Choose a tag to compare

@iwate iwate released this 10 Nov 07:23
348e79e

What's Changed

Full Changelog: 0.0.9...0.0.10

0.0.9

Choose a tag to compare

@iwate iwate released this 16 Jun 03:52
bumpup dotnet

0.0.8

Choose a tag to compare

@nabehiro nabehiro released this 16 Jun 03:29
ba83322

Github Action から Nuget push

0.0.7

Choose a tag to compare

@nabehiro nabehiro released this 16 Jun 03:15

Circle CI が回らないかのテスト

0.0.6

Choose a tag to compare

@nabehiro nabehiro released this 16 Jun 03:08
modify test

0.0.5

Choose a tag to compare

@iwate iwate released this 15 Jun 09:43
KEN_ALLの一部フォーマット変更に対応。小菅村と琴平町。これで救われる自治体が17件増えて、とてもよし。

Street2 追加

Choose a tag to compare

@nabehiro nabehiro released this 06 Aug 11:12
a3c3b60

#3 対応

v1.0

Choose a tag to compare

@iwate iwate released this 20 Sep 05:14

郵便番号データ正規化

郵便番号データダウンロード - 日本郵便

  • カッコ内カンマ区切りデータの展開
  • 丁目・番地削除
  • 固定文字列削除("以下に掲載がない場合"など)

pconv

pconv -i KEN_ALL.csv -t {変換テンプレートファイル}

  • テンプレートはRazor(cs)
  • テンプレート無指定ならテキストを標準出力
  • テンプレート指定なら実行した結果を標準出力
  • ファイル出力したかったらリダイレクトで保存

サンプルテンプレート

csv.cshtml

@foreach(var p in Model){
    <text>"@p.Code","@p.Prefecture","@p.City","@p.Street"</text>
}