Skip to content

tedmiston/wtf-coronavirus-ohio

Repository files navigation

WTF Coronavirus Ohio

A WTF (wtfutil) dashboard module for coronavirus pandemic data from the Ohio Department of Health.

Docker Image Version Code Style: Black GitHub Actions Workflow Status Maintainability codecov PyPI version PyPI downloads

Docker Image: tedmiston/wtf-covid-19-ohio

Data: coronavirus.ohio.gov

Setup

Requires WTF and Docker.

If SQLite is available, it will be used as a cache.

Install

Add the covid-19-ohio module config to wtf.mods in your WTF config file:

wtf:
  ...
  mods:
    ...
    covid-19-ohio:
      type: cmdrunner
      title: COVID-19 Ohio
      cmd: docker
      args: ["run", "--rm", "tedmiston/wtf-covid-19-ohio:v1.2.2"]
      position:
        top: 4
        left: 0
        height: 2
        width: 1
      refreshInterval: 3600  # 3600 seconds == 1 hour
      enabled: true

The config file is located at ~/.config/wtf/config.yml by default.

The module runs a Docker container so it should just work.

Quickstart

Just run the WTF dashboard:

$ wtfutil