This is a small package to look at some of the alberta specific covid data.
Project description
covid_alberta
This is a small package that I have developed to look at some of the alberta specific covid data.
There are two parts to the package. the webscraper and the data analysis
Web Scraper
The albertaC19_websraper
is a class that scrapes the updated stats off of the alberta Covid-19 website.
example of using the webscraper '''python abC19scaper = albertaC19_webscraper() abTotal, abRegion, abTesting = abC19scaper.scrape_all(return_dataframes=True) '''
data analysis
Currently I am developing the stats and plotting packages in the CovidAlberta.ipynb I will convert it over into a more formal package with functions as I finish it up. Some of the stats I am looking at are the cumulative case increase across Alberta as well as calculating the doubling rate of the case counts.
example for calculating the stats '''python region_cum = calculate_cumulatives(abRegion, combine_df=False) region_dt = calculate_doublingtimes_region(region_cum, combine_df=False) total_dt = calculate_doublingtimes_region(abTotal, col_suffix='cum_cases', combine_df=False) '''
I have seen a lot of graphs showing the cumulative curve with as well as the "2, 3, and 4 day doubling rate" curves. Which made me think, why not just calculate that rate? If you calculate the actual doubling rate you can start looking at some interesting things such as how our doubling rate is changing compared to the cumulative case count? Here's an example of that image.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for covid_alberta-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfc6f7c36b6fed52171a9cef94aa3b4328c91b4a6ef98e142a8ae5eaabf43009 |
|
MD5 | 3c47daa956aed1266e6e8c7ae12460d9 |
|
BLAKE2b-256 | a7608a452cadf8bb9530115e51191eeea1701a42cd7f133c58cb465755479570 |