Skip to main content

stat

Show historical cases and deaths by country.

Source Code: [link]

openbb.alt.covid.stat(country: str, stat: str = "cases", limit: int = 10)

Parameters

NameTypeDescriptionDefaultOptional
countrystrCountry to get data forNoneFalse
statstrStatistic to get. Either "cases", "deaths" or "rates"casesTrue
limitintNumber of raw data to show10True

Returns

TypeDescription
pd.DataFrameDataframe of data for given country and statistic