https://github.com/casperdcl/covid-19-box

Tracking the pandemic

https://github.com/casperdcl/covid-19-box

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.9%) to scientific vocabulary

Keywords

covid-19 dvc pinned-gist

Keywords from Contributors

animal pypy interpretability standardization process hack autograder actions report
Last synced: 6 months ago · JSON representation

Repository

Tracking the pandemic

Basic Info
  • Host: GitHub
  • Owner: casperdcl
  • License: other
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 1.87 MB
Statistics
  • Stars: 5
  • Watchers: 0
  • Forks: 1
  • Open Issues: 88
  • Releases: 1
Topics
covid-19 dvc pinned-gist
Created almost 6 years ago · Last pushed 7 months ago
Metadata Files
Readme Funding

README.md

🏥 covid-19-box

GitHub Action for injecting COVID-19 status into a gist.

ID Date Cases( change) Deaths(chnge) US 2023-01-18 101,858,337(127,694) 1,102,794(1,574) BR 2023-01-18 36,572,898( 12,425) 695,698( 91) IN 2023-01-18 44,684,667( 134) 523,355( 0) RU 2023-01-18 21,561,796( 5,442) 386,588( 46) ME 2023-01-18 7,316,602( 0) 324,585( 0) PE 2023-01-18 4,480,312( 941) 219,407( 26) GB 2023-01-18 23,407,181( 0) 214,415( 0) IT 2023-01-18 25,363,890( 0) 186,024( 0) DE 2023-01-18 37,649,808( 12,001) 164,400( 238) FR 2023-01-18 39,960,833( 5,894) 164,100( 82) -- 2023-01-17 665,939,359(338,467) 6,688,816(1,879)


As of now, the automatic cloud-based pinned gist functionality is text-only; while running locally allows graph plotting.

✨ Sources

Data from ECDC

pinned gist

🎒 Prep Work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create a token with the gist scope and copy it. (https://github.com/settings/tokens/new)

🖥 Project Setup

  1. Fork this repo
  2. Go to your fork's Settings > Secrets > Add a new secret for each environment secret (below)

🤫 Environment Secrets

  • gist_id: The ID portion from your gist url https://gist.github.com/<github username>/37496a4e4c84aed9711fbe3ec560888a.
  • gh_token: The GitHub token generated above.
  • countries: Comma-separated list of country IDs. Also can use all (world summary), or top (10 highest). Example: top,all,JP.

💸 Donations

Feel free to use the GitHub Sponsor button to donate towards my work if you're feeling generous <3

Local Install

Requires Python and either pip or conda. Supports interactive plotting (rather than just plain-text gists).

pip

pip install -r requirements.txt

conda

conda env create -f environment.yml conda activate covid-19

Run

To (re)generate all graphs and summaries:

dvc update COVID-19.csv.dvc dvc repro -P # auto-generates `world.png` and `top.png`

World graph

Highest number of cases

To manually run,

dvc update COVID-19.csv.dvc # at least once python covid19.py --help

Developers

Debug the GitHub action locally using:

docker-compose build docker-compose up

Owner

  • Name: Casper da Costa-Luis
  • Login: casperdcl
  • Kind: user
  • Location: London, UK

Open Core Software Consultant & Technical Product Manager; Computational Physicist; member of IEEE, IOP, & @python Software Foundation

GitHub Events

Total
  • Push event: 12
  • Pull request event: 13
  • Create event: 12
Last Year
  • Push event: 12
  • Pull request event: 13
  • Create event: 12

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 2,800
  • Total Committers: 2
  • Avg Commits per committer: 1,400.0
  • Development Distribution Score (DDS): 0.062
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
casperdcl 4****] 2,626
Casper da Costa-Luis c****l@p****g 174
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 3
  • Total pull requests: 83
  • Average time to close issues: 3 days
  • Average time to close pull requests: N/A
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.33
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 18
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • amblerkr (1)
  • bdougie (1)
Pull Request Authors
  • casperdcl (103)
  • snyk-bot (11)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
github actions: casperdcl/covid-19-box

GitHub Action for injecting COVID-19 status into a gist

  • License: other
  • Latest release: v1.1.0
    published almost 6 years ago
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 0.0%
Stargazers count: 17.7%
Average: 21.1%
Forks count: 23.7%
Dependent repos count: 42.9%
Last synced: 6 months ago