Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCR検査件数・電話相談件数・陽性者の状況のオープンデータ #77

Closed
imabari opened this issue Oct 2, 2020 · 8 comments · Fixed by #80
Closed

PCR検査件数・電話相談件数・陽性者の状況のオープンデータ #77

imabari opened this issue Oct 2, 2020 · 8 comments · Fixed by #80

Comments

@imabari
Copy link

imabari commented Oct 2, 2020

PCR検査件数・電話相談件数・陽性者の状況のオープンデータで公開されています

新型コロナウイルスPCR検査件数
https://www.pref.yamanashi.jp/koucho/coronavirus/documents/pcr.xlsx

新型コロナウイルス電話相談件数
https://www.pref.yamanashi.jp/koucho/coronavirus/documents/soudan.xlsx

新型コロナウイルス陽性者の状況
https://www.pref.yamanashi.jp/koucho/coronavirus/documents/yousei.xlsx

@imabari
Copy link
Author

imabari commented Oct 3, 2020

Excelからdata.json作成しています
https://github.com/imabari/covid19-data/blob/master/yamanashi/main_excel.py

@daisuke19891023
Copy link
Owner

反応できていなくてすみませんでした!提供いただいたpyファイルを参考に処理を修正いたします!

@keitasuzukijp
Copy link

keitasuzukijp commented Nov 11, 2020

@imabari @daisuke19891023
ありがとうございます!自動更新が止まってしまってちょうどIssueたててご相談しようとしていました…。
今は @yuukis さんが手動で更新してくれています。
お手数をおかけしますが、何卒よろしくお願いいたします。

@keitasuzukijp
Copy link

データの更新は時差があるようですね…。
11/11 12:00時点で最終最終更新が11/9でした。

@daisuke19891023
Copy link
Owner

11/9にソースの改修を行ったので、元データに対して更新があれば、それを検知して再度更新されるかと思います。ただ、csvからのデータ生成は未対応なので、今週末に対応したいと思います

@keitasuzukijp
Copy link

@daisuke19891023 そうでしたか!ありがとうございますー!

@daisuke19891023 daisuke19891023 linked a pull request Dec 4, 2020 that will close this issue
@daisuke19891023
Copy link
Owner

@imabari
遅くなりましたが提示いただいたコードをベースにExcelからのdata.json生成に対応しました!
ご提示いただきありがとうございました!

@imabari
Copy link
Author

imabari commented Dec 11, 2020

xlrdがxlsxの読み込みが非対応になったためエラーが発生します
https://xlrd.readthedocs.io/en/latest/changes.html

xlsxファイルを読み込む場合は、engine="openpyxl"で指定してください
pd.read_excel('tmp.xlsx', engine="openpyxl")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants