Stat
To obtain charts, make sure to add chart=True as the last parameter
Show historical cases and deaths by country
Parameters
----------
country: str
Country to get data for
stat: str
Statistic to get. Either "cases", "deaths" or "rates"
limit: int
Number of raw data to show
alt.covid.stat(country, stat: str = ‘cases’, raw: bool = False, limit: int = 10, export: str = ‘’, plot: bool = True, chart=True) -> None
Show historical cases and deaths by country
Parameters
----------
country: str
Country to get data for
stat: str
Statistic to get. Either "cases", "deaths" or "rates"
raw: bool
Flag to display raw data
limit: int
Number of raw data to show
export: str
Format to export data
plot : bool
Flag to plot data