hiscovid


Namehiscovid JSON
Version 0.0.5 PyPI version JSON
download
home_pagehttps://github.com/y-takefuji/hiscovid
SummaryA package for calculating time transition policy scores against COVID-19
upload_time2024-04-22 07:54:05
maintainerNone
docs_urlNone
authoryoshiyasu takefuji
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # hiscovid
[![Open in Code Ocean](https://codeocean.com/codeocean-assets/badge/open-in-code-ocean.svg)](https://codeocean.com/capsule/5655627/tree)

Taiwan' data from the dataset was removed by the provider.

Takefuji Y. (2022) hiscovid for calculating time transition scores of policies against COVID-19 [Source Code]. https://doi.org/10.24433/CO.7364293.v1

Publications:

Takefuji Y. (2022). Sustainable policy: Don't get infected and don't infect others. Journal of Hazardous Materials Advances, 8, 100165. https://doi.org/10.1016/j.hazadv.2022.100165

Takefuji Y. (2022). COVID-19 policy analysis for 10 European countries. Zeitschrift fur Gesundheitswissenschaften = Journal of public health, 1–8. Advance online publication. https://doi.org/10.1007/s10389-022-01786-0

Takefuji Y. (2023). Policy analysis and data mining tools for controlling COVID-19 policies. Network modeling and analysis in health informatics and bioinformatics, 12(1), 4. https://doi.org/10.1007/s13721-022-00400-3

Takefuji Y. (2023). How to build disaster-resilient cities and societies for making people happy. Building and environment, 228, 109845. https://doi.org/10.1016/j.buildenv.2022.109845



hiscovid is a PyPI tool that calculates time transition scores for individual policies against COVID-19.

The goal of hiscovid is for policymakers to identify when they made mistakes.
Policymakers must learn their mistakes for possible corrections in the future.

The time transition score is calculated by dividing the number of deaths in the time series 
due to COVID-19 by the population in millions.

Scores monotonically increase so that policymakers can only suppress them, but cannot improve them.
Mistakes by policymakers cannot be corrected and are fatal forever.

The lower the score, the better the policy.

In other words, the score is equivalent to the accumulation of mistakes made by policymakers.

The perfect policy outcome means there are no covid-19 deaths. There is no perfect policy in the world, but
mistakes by policymakers can be corrected for future better decisions.


hiscovid scrapes the latest data from the following site over the Internet:

https://covid.ourworldindata.org/data/owid-covid-data.csv

Data of Taiwan was removed from March 2023!

Mistakes can be observed in the calculated graph.

# How to install hiscovid
$ pip install hiscovid

# How to run hiscovid
$ hiscovid <country name(s)>

$ hiscovid Japan 'South Korea'

<img src='https://github.com/y-takefuji/hiscovid/raw/main/jsk.png' height=480 width=640>

$ hiscovid Japan Taiwan

<img src='https://github.com/y-takefuji/hiscovid/raw/main/twjp.png' height=480 width=640>


The vertical axis shows the overall result scores for policy, individual behavior, vaccination, 
and new COVID-19 variants. 
Score is the number of deaths due to COVID-19 per population in millions.

In the graph of South Korea, there are two points where the slope of the scoreline changed abruptly,
including mid-November 2021 and mid-February 2022.

In the graph of Japan, there is a single abruptly changed point around mid-January 2022.


$ hiscovid Taiwan 'New Zealand'

<img src='https://github.com/y-takefuji/hiscovid/raw/main/twnz.png' height=480 width=640>

There is one point in the Taiwan graph that changes abruptly around mid-May 2021.

There is one point in the New Zealand graph that changes abruptly around the mid-February 2022.

$ hiscovid Taiwan 'United States' 'United Kingdom'

<img src='https://github.com/y-takefuji/hiscovid/raw/main/twusuk.png' height=480 width=640>

In the US graph, the scoreline is constantly bad, but a single point that changes abruptly around the mid-August 2021.

In the UK graph, there are two points where the slope of the scoreline changed abruptly,
including the mid-March 2020 and the mid-October 2020.


# Students exercises
question: Can you convert hiscovid into a program that produces black and white lines?

<img src='https://github.com/y-takefuji/hiscovid/raw/main/bw.png' height=480 width=640>




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/y-takefuji/hiscovid",
    "name": "hiscovid",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "yoshiyasu takefuji",
    "author_email": "takefuji@keio.jp",
    "download_url": "https://files.pythonhosted.org/packages/fb/54/3807f6f6b28dc1e8d4028ed80bc4c8e6c0631fb4eb70ae7921022eb019aa/hiscovid-0.0.5.tar.gz",
    "platform": null,
    "description": "# hiscovid\n[![Open in Code Ocean](https://codeocean.com/codeocean-assets/badge/open-in-code-ocean.svg)](https://codeocean.com/capsule/5655627/tree)\n\nTaiwan' data from the dataset was removed by the provider.\n\nTakefuji Y. (2022) hiscovid for calculating time transition scores of policies against COVID-19 [Source Code]. https://doi.org/10.24433/CO.7364293.v1\n\nPublications:\n\nTakefuji Y. (2022). Sustainable policy: Don't get infected and don't infect others. Journal of Hazardous Materials Advances, 8, 100165. https://doi.org/10.1016/j.hazadv.2022.100165\n\nTakefuji Y. (2022). COVID-19 policy analysis for 10 European countries. Zeitschrift fur Gesundheitswissenschaften = Journal of public health, 1\u20138. Advance online publication. https://doi.org/10.1007/s10389-022-01786-0\n\nTakefuji Y. (2023). Policy analysis and data mining tools for controlling COVID-19 policies. Network modeling and analysis in health informatics and bioinformatics, 12(1), 4. https://doi.org/10.1007/s13721-022-00400-3\n\nTakefuji Y. (2023). How to build disaster-resilient cities and societies for making people happy. Building and environment, 228, 109845. https://doi.org/10.1016/j.buildenv.2022.109845\n\n\n\nhiscovid is a PyPI tool that calculates time transition scores for individual policies against COVID-19.\n\nThe goal of hiscovid is for policymakers to identify when they made mistakes.\nPolicymakers must learn their mistakes for possible corrections in the future.\n\nThe time transition score is calculated by dividing the number of deaths in the time series \ndue to COVID-19 by the population in millions.\n\nScores monotonically increase so that policymakers can only suppress them, but cannot improve them.\nMistakes by policymakers cannot be corrected and are fatal forever.\n\nThe lower the score, the better the policy.\n\nIn other words, the score is equivalent to the accumulation of mistakes made by policymakers.\n\nThe perfect policy outcome means there are no covid-19 deaths. There is no perfect policy in the world, but\nmistakes by policymakers can be corrected for future better decisions.\n\n\nhiscovid scrapes the latest data from the following site over the Internet:\n\nhttps://covid.ourworldindata.org/data/owid-covid-data.csv\n\nData of Taiwan was removed from March 2023!\n\nMistakes can be observed in the calculated graph.\n\n# How to install hiscovid\n$ pip install hiscovid\n\n# How to run hiscovid\n$ hiscovid <country name(s)>\n\n$ hiscovid Japan 'South Korea'\n\n<img src='https://github.com/y-takefuji/hiscovid/raw/main/jsk.png' height=480 width=640>\n\n$ hiscovid Japan Taiwan\n\n<img src='https://github.com/y-takefuji/hiscovid/raw/main/twjp.png' height=480 width=640>\n\n\nThe vertical axis shows the overall result scores for policy, individual behavior, vaccination, \nand new COVID-19 variants. \nScore is the number of deaths due to COVID-19 per population in millions.\n\nIn the graph of South Korea, there are two points where the slope of the scoreline changed abruptly,\nincluding mid-November 2021 and mid-February 2022.\n\nIn the graph of Japan, there is a single abruptly changed point around mid-January 2022.\n\n\n$ hiscovid Taiwan 'New Zealand'\n\n<img src='https://github.com/y-takefuji/hiscovid/raw/main/twnz.png' height=480 width=640>\n\nThere is one point in the Taiwan graph that changes abruptly around mid-May 2021.\n\nThere is one point in the New Zealand graph that changes abruptly around the mid-February 2022.\n\n$ hiscovid Taiwan 'United States' 'United Kingdom'\n\n<img src='https://github.com/y-takefuji/hiscovid/raw/main/twusuk.png' height=480 width=640>\n\nIn the US graph, the scoreline is constantly bad, but a single point that changes abruptly around the mid-August 2021.\n\nIn the UK graph, there are two points where the slope of the scoreline changed abruptly,\nincluding the mid-March 2020 and the mid-October 2020.\n\n\n# Students exercises\nquestion: Can you convert hiscovid into a program that produces black and white lines?\n\n<img src='https://github.com/y-takefuji/hiscovid/raw/main/bw.png' height=480 width=640>\n\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A package for calculating time transition policy scores against COVID-19",
    "version": "0.0.5",
    "project_urls": {
        "Bug Tracker": "https://github.com/y-takefuji/hiscovid",
        "Homepage": "https://github.com/y-takefuji/hiscovid"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4ffe0acb95177f716efb4a57d03e789dcc267c27d0fe4701ac73d812c98d4ff4",
                "md5": "a9493e44040284a9b04eb6ee1eabe96b",
                "sha256": "c3f2490b46b8086b3c163ecd0205e9fee2128507273aa4a1f0ca636483be32aa"
            },
            "downloads": -1,
            "filename": "hiscovid-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a9493e44040284a9b04eb6ee1eabe96b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4054,
            "upload_time": "2024-04-22T07:54:04",
            "upload_time_iso_8601": "2024-04-22T07:54:04.014563Z",
            "url": "https://files.pythonhosted.org/packages/4f/fe/0acb95177f716efb4a57d03e789dcc267c27d0fe4701ac73d812c98d4ff4/hiscovid-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fb543807f6f6b28dc1e8d4028ed80bc4c8e6c0631fb4eb70ae7921022eb019aa",
                "md5": "c345d8bbd601b6f089fe8279f027a6a0",
                "sha256": "b76e828710d76576640155a1ec42e73112f1c72a9bf98660d23c3608261e03d0"
            },
            "downloads": -1,
            "filename": "hiscovid-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "c345d8bbd601b6f089fe8279f027a6a0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3880,
            "upload_time": "2024-04-22T07:54:05",
            "upload_time_iso_8601": "2024-04-22T07:54:05.668380Z",
            "url": "https://files.pythonhosted.org/packages/fb/54/3807f6f6b28dc1e8d4028ed80bc4c8e6c0631fb4eb70ae7921022eb019aa/hiscovid-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-22 07:54:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "y-takefuji",
    "github_project": "hiscovid",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "hiscovid"
}
        
Elapsed time: 0.22833s