The goal of c19euxplorer is to explore the COVID-19 related variables
in several countries in Europe interactively via a Shiny-based web app.

The variables covered in this app are:

  • Daily and cumulative cases and deaths of COVID-19 in 51 countries in Europe.
  • Weekly testing and positivity rate of 29 EU/EEA member countries and the United Kingdom.
  • Weekly dominant source of transmission of 31 EU/EEA member countries and the United Kingdom.
  • Community mobility in six types of location of 29 EU/EEA member countries and the United Kingdom.

The app’s sources of data are the European Centre of Disease Prevention and Control and the Google Community Mobility Report. The cumulative figures and GCMR are downloaded with the tidycovid19 R package.

Installation

You can install the c19euxplorer with:

remotes::install_github("etc5523-2020/r-package-assessment-Dewi-Amaliah")

Example

launch_app()

The main usage of this package is to launch an app to explore data of COVID-19 related variables. You can launch and use the app by run this code in R studio.

By running this function, you will have the app launched as follows:


You can explore each of the variables I mentioned previously by clicking each tab in the navigation bar. Inside each tab, there will be instructions on how to use the app. In general, you can compare several countries in your chosen time range.

Beside launch_app(), this package also has other functions. You can refer to this and this. These functions are mainly intended to simplify the code in the app, hence the usage would be very specific to the app. However, there are two functions that I think could be utilized when you build a Shiny app. They are getref() and getlink().


getref()

With this function, you can make a reference list in a Shiny app in simpler way. By using HTML tag, you have to write this code for each reference you use in the app.

tags$li(class = "li-custom", "Winston Chang. (2018).",
        tags$a(href = "https://CRAN.R-project.org/package=shinythemes",
              "shinythemes: Themes for Shiny",
              class = "externallink"))

To produce this line:

With getref(), you just have to use this line:

c19euxplorer::getref("Winston Chang",
       "2018",
       "https://CRAN.R-project.org/package=shinythemes",
       "shinythemes: Themes for Shiny")


Data container

This package contains three data sets that could also be used outside the app. They are:

COVID-19 weekly testing and positivity rate


COVID-19 weekly dominant source of transmission in subnational level


Country centroids

tibble(c19euxplorer::country_centroids)



The image source for the hex logo is from flaticon