Amazon QuickSight で S3 のデータを可視化してみた。
データの準備
- 住所データCSV【住所.jp】 から csv_zenkoku.zip をダウンロードする。
- 解凍して、UTF8 に変換する(macOS)。
$ brew install nkf $ unzip csv_26kyouto.zip $ nkf -Lw zenkoku.csv > zenkoku-utf8.csv $ file zenkoku-utf8.csv zenkoku-utf8.csv: UTF-8 Unicode text, with CRLF line terminators e$ head -3 zenkoku-utf8.csv "住所CD","都道府県CD","市区町村CD","町域CD","郵便番号","事業所フラグ","廃止フラグ","都道府県","都道府県カナ","市区町村","市区町村カナ","町域","町域カナ","町域補足","京都通り名","字丁目","字丁目カナ","補足","事業所名","事業所名カナ","事業所住所","新住所CD" 60000000,1,1101,11010000,"060-0000",0,0,"北海道","ホッカイドウ","札幌市中央区","サッポロシチュウオウク",," ","(該当なし)",,,,,,,, 60850400,1,1101,11010000,"060-8504",1,0,"北海道","ホッカイドウ","札幌市中央区","サッポロシチュウオウク",," ","(該当なし)",,,,,"富士通 株式会社 北海道支社","フジツウ カブシキガイシヤ ホツカイドウシシヤ","北2条西4丁目1番地札幌三井JPビルディング",
{ "fileLocations": [ {"URIPrefixes": [ "https://s3.amazonaws.com/quicksight-bucket/japan-address/zenkoku-utf8.csv", ] } ], "globalUploadSettings": { "format": "CSV", "textqualifier": "\"", "delimiter": "," } }