{"id":19876838,"url":"https://github.com/lewuathe/covid19-sir","last_synced_at":"2025-05-11T01:15:57.894Z","repository":{"id":37213952,"uuid":"246053893","full_name":"Lewuathe/COVID19-SIR","owner":"Lewuathe","description":"COVID-19 SIR model estimation","archived":false,"fork":false,"pushed_at":"2022-11-22T08:18:23.000Z","size":1505,"stargazers_count":133,"open_issues_count":19,"forks_count":75,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-11T01:15:50.931Z","etag":null,"topics":["coronavirus","covid-19","opendata","simulation","sir"],"latest_commit_sha":null,"homepage":"https://www.lewuathe.com/covid-19-dynamics-with-sir-model.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lewuathe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-09T14:13:10.000Z","updated_at":"2025-03-17T11:36:02.000Z","dependencies_parsed_at":"2023-01-20T19:02:17.729Z","dependency_job_id":null,"html_url":"https://github.com/Lewuathe/COVID19-SIR","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lewuathe%2FCOVID19-SIR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lewuathe%2FCOVID19-SIR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lewuathe%2FCOVID19-SIR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lewuathe%2FCOVID19-SIR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lewuathe","download_url":"https://codeload.github.com/Lewuathe/COVID19-SIR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253501870,"owners_count":21918335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coronavirus","covid-19","opendata","simulation","sir"],"created_at":"2024-11-12T16:34:28.450Z","updated_at":"2025-05-11T01:15:57.826Z","avatar_url":"https://github.com/Lewuathe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COVID-19 SIR Model Estimation\nSIR model estimation on COVID-19 cases dataset. There is a blog post describing the detail of the SIR model and COVID-19 cases dataset.\n\n- [https://www.lewuathe.com/covid-19-dynamics-with-sir-model.html](https://www.lewuathe.com/covid-19-dynamics-with-sir-model.html)\n\n![japan](/Japan.png)\n\n## Usage\n\nAll dependencies are resolved by [Pipenv](https://pipenv.kennethreitz.org/en/latest/)\n\n```\n$ poetry install\n$ poetry run python solver.py\n```\n\nOption to run\n```\nusage: solver.py [-h] [--countries COUNTRY_CSV] [--download-data]\n                 [--start-date START_DATE] [--prediction-days PREDICT_RANGE]\n                 [--S_0 S_0] [--I_0 I_0] [--R_0 R_0]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --countries COUNTRY_CSV\n                        Countries on CSV format. It must exact match the data\n                        names or you will get out of bonds error.\n  --download-data       Download fresh data and then run\n  --start-date START_DATE\n                        Start date on MM/DD/YY format ... I know ...It\n                        defaults to first data available 1/22/20\n  --prediction-days PREDICT_RANGE\n                        Days to predict with the model. Defaults to 150\n  --S_0 S_0             S_0. Defaults to 100000\n  --I_0 I_0             I_0. Defaults to 2\n  --R_0 R_0             R_0. Defaults to 0\n```\n\n\n## Data Sources\n\nThe data used by this simulation is available in:\n\n- [CSSEGISandData/COVID-19](https://github.com/CSSEGISandData/COVID-19)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewuathe%2Fcovid19-sir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flewuathe%2Fcovid19-sir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewuathe%2Fcovid19-sir/lists"}