Skip to content

Latest commit

 

History

History
58 lines (45 loc) · 1.06 KB

CovidPlot.md

File metadata and controls

58 lines (45 loc) · 1.06 KB
layout title nav_order description permalink
default
CovidPlot
2
/covidplot

CovidPlot

An easy way to plot COVID-19 info.

Sofware (for developers)

Get the last version of this software here. CovidPlot

Installation

Option 1: Use pip (recommended, last stable version)

  1. Install pyforchange
pip install pyforchange
  1. Import covidPlot in your python file
import pyforchange.covidplot
  1. Enjoy!

Option 2: Download the source (unstable pre-realise version)

  1. Download covidplot into your proyect folder
  2. Import covidplot in your python file
import covidplot
  1. Enjoy!

Usage

Import covidPlot and define datasets.

from pyforchange.covidplot import *

chile=CovidData()
usa=CovidData('United States')

Plot the parameters you want for each dataset.

chile.plot('new_vaccinations_smoothed_per_million')

chile.plot("casos")

usa.plot("new_cases")

chile.plot("vacunas")

usa.plot("total_cases")