マイナンバーカード交付率のダッシュボード( https://mynumbercard.code4japan.org/ ) のソースコードです。
https://www.soumu.go.jp/kojinbango_card/ にある PDF、「マイナンバーカード交付状況について」から CSV データを抜き出し、CSV として保存しています。
This is a repository of a dashboard of the my number card statistics ( https://mynumbercard.code4japan.org/ ).
Extract and convert csv data from the PDF file under マイナンバーカード交付状況について on the https://www.soumu.go.jp/kojinbango_card/
Please install Docker and Docker Compose
git clone [email protected]:codeforjapan/mynumbercard_statistics.gitThe download_and_conver command will run the both download and convert commands below, at one time.
[notice] This command will take a long time when you run this command for the first time.
make download_and_convertThe download command will download cvs data from PDF file.
[notice] This command will take a long time when you run this command first time.
make downloadThe download script will skip files which are already downloaded. If you want to redownload all files, run download_all.
make download_allThe conver command will create csv files from downloaded data.
make convertThis command will create the following csv files under data/out/{YYYYMMDD}/ dir.
summary_by_types.csvsummary data by govenment types (団体区分別)all_prefectures.csvthe statistics of all prefectures (都道府県一覧)demographics.csvthe demographics data (男女・年齢別)all_localsgovs.csv: the statistics of all local governments (基礎自治体)
GitHub Actions in this repository will create new data and publish the data to the gh-pages branch.
.