Covid cases data for Czech Republic - visualisation
First: load CSV data from ministry page
import wget, os
data_url = 'https://onemocneni-aktualne.mzcr.cz/api/v2/covid-19/testy-pcr-antigenni.csv'
out_file = './testy-pcr-antigenni.csv'
if os.path.exists(out_file):
os.remove(out_file)
wget.download(data_url, out=out_file)
Second: load data to Pandas
select * from './testy-pcr-antigenni.csv'
-- wow maybe easier option of loading CSV than pd.read_csv()
Third: enjoy zoomable Plot.ly visualisation!
from datetime import datetime
from IPython.core.display import display, HTML, Markdown, Image
today = datetime.now()
display(Markdown(f'Last run: {today} UTC.'))