Eyes on RT-PCR tests with echarts and french open data — COVID-19

[This article was first published on Guillaume Pressiat, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Data on COVID-19 screening tests for France ; a shared dashboard with calendar and other heatmaps

Covid-si-dep shiny app with echarts4r calendar heatmap

Link for the app: https://guillaumepressiat.shinyapps.io/covid-si-dep

This app download daily csv file from french site data.gouv.fr via its api and build heatmaps updated with last day data available.

  • I have moved from ggplotly to echarts4r package and really nice e_calendar function, see here: https://echarts4r.john-coene.com or here for full docs https://echarts.apache.org/
  • shinywidgets with pickerInput lets user choose its departments
  • data are available mouse on hover
  • by tweeking URL like this, you can choose which ?departments or ?regions are available on startup:

https://guillaumepressiat.shinyapps.io/covid-si-dep/?reg=11|93|32

https://guillaumepressiat.shinyapps.io/covid-si-dep/?dep=36|23|75|29

Data availables are:

  • Number of positive tests by day (cases), week and departments and age categories
  • Incidence of positive tests for 100 000 inhabitants

They come from Santé Publique France.

A visualisation is available showing dispersion over age groups by week.

Incidence by age group by week

Code for this app is available here.

To leave a comment for the author, please follow the link and comment on their blog: Guillaume Pressiat.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)