Code Monkey home page Code Monkey logo

covid-hyogo's Introduction

Hi there 👋

covid-hyogo's People

Contributors

akiya64 avatar dependabot[bot] avatar hktang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

covid-hyogo's Issues

Calculate map circle radius on zoom in/out

Currently, the radius of circle markers on the map is a fixed value based on device type (mobile or others). It does not respond to zooming events and is therefore problematic especially when the map is zoomed out.

Language - Hiragana mode

I think Hiragana "ひらがな" mode is usefull.
It would be helpfull for foreigners who unfamiliar with Kanji and usefull for japanese children.
I will implement within several days.

私はひらがなの表示モードが役立つと思います。
漢字に不慣れな外国人の助けになる。日本人の子供も使いやすい。
数日中に実装する予定です。

Disclaimer for the map

For simplicity/convenience, cases in the "administrative jurisdictions" are merged into the city itself. For example, 伊丹健康福祉事務所管内 is considered 伊丹 in the map.

A disclaimer should be added to the page to indicate how this is handled.

Compare chart - "capacity" between patient

I think hospital beds number is very important information, but one of most sensitive issue.

Realiy useful?

This project should be to help prevent infection for citizens, not to fuel the crisis.
Is this chart that comparison hospital beds with patient useful for preventing community-acquired infections?

Difficulty of ”Capacity" definition

What is "Capacity"?

  1. Hospital beds prepared for COVID-19
  2. Hotels for non-severe patient, Hyogo.pref has yet decided use hotels.

There will also be waiting at home for non-severe.
And may Accept patients across prefectures.

Difficulty of Infomation resouce

The number of beds is gradually increased, but no daily announced.
And annouce by PDF, it is difficult to crawl.
Example, nothing about beds in this page, need to open PDF and written by japanese.
https://web.pref.hyogo.lg.jp/kk03/200129.html

Daily discharges is not announced, only discharged total.

Check if the daily male/female/total for the previous day is correct

This section of the updater script is buggy because sometimes cases are backdated (i.e. added in the early morning of Day(n) for Day(n-1)). In that case, the script should check the previous day after it inserts a blank row for the current day.

# Todo: sometimes backdated cases do happen.
# Need to check one more row (2.A3 and D.A4)
refWorksheet = sheet.worksheet("D")
pivotLastDateString = refWorksheet.get("A3").first()
if lastDateString == pivotLastDateString:
if refWorksheet.acell("B3").value == '':
female = 0
else:
female = refWorksheet.acell("B3").value
if refWorksheet.acell("C3").value == '':
male = 0
else:
male = refWorksheet.acell("C3").value
if refWorksheet.acell("D3").value == '':
total = 0
else:
total = refWorksheet.acell("D3").value
worksheet.update("B2", female, raw=False)
worksheet.update("C2", male, raw=False)
worksheet.update("D2", total, raw=False)
print("Summary sheet updated.")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.