Skip to main content

slopes

Load cases and find slope over period.

Source Code: [link]

openbb.alt.covid.slopes(days_back: int = 30, limit: int = 50, threshold: int = 10000, ascend: bool = False)

Parameters

NameTypeDescriptionDefaultOptional
days_backintNumber of historical days to consider30True
limitintNumber of rows to show50True
thresholdintThreshold for total number of cases10000True
ascendboolFlag to sort in ascending orderFalseTrue

Returns

TypeDescription
pd.DataFrameDataframe containing slopes