Python wrapper functions for retrieving real-time and past information from JHU CSSE database
Download the latest release pip install --upgrade covid19-stats
Sample usage:
# import library
import covid19-stats as cs
# get latest information, returns a pandas dataframe
cs.get_latest()
# get past data with date (mm-dd-yyyy), throws error if file does not exist
cs.get_past_data('02-29-2020')
# get time series representation of all dates, three types: 'confirmed', 'deaths', 'recovered'
cs.get_time_series('deaths')
0.0.1
- GIS mapping
- plotting
Chi Nok Enoch Kan/ @chinokenochkan