ov
- Model
- Chart
Get historical cases and deaths by country.
Source Code: [link]
openbb.alt.covid.ov(country: str, limit: int = 100)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| country | str | Country to get data for | None | False |
| limit | int | Number of raw data to show | 100 | True |
Returns
| Type | Description |
|---|---|
| pd.DataFrame | Dataframe of historical cases and deaths |
Prints table showing historical cases and deaths by country.
Source Code: [link]
openbb.alt.covid.ov_chart(country: str, raw: bool = False, limit: int = 10, export: str = "", plot: bool = True)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| country | str | Country to get data for | None | False |
| raw | bool | Flag to display raw data | False | True |
| limit | int | Number of raw data to show | 10 | True |
| export | str | Format to export data | True | |
| plot | bool | Flag to display historical plot | True | True |
Returns
This function does not return anything