Skip to main content

slopes

Load cases and find slope over period.

Source Code: [link]

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

Parameters

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

Returns

TypeDescription
pd.DataFrameDataframe containing slopes