This vignette can describe the use of the CovidYe package, including how to launch the shiny application, what the application can do, and the guidelines for its users.

Installing CovidYe

The development version can be installed from my GitHub with:

# install.packages("devtools")
devtools::install_github("etc5523-2020/r-package-assessment-Year-97")

Launching shiny app

The main goal of CovidYe package is to provide a shiny app called Covid-19 to convey the daily information of Covid-19 in 188 countries and the overall trend of different type of cases.

Exploration of the data in the CovidYe package

This package also provides the coronavirus dataset, which contains daily information for 118 countries over time. This data is sourced from WHO and coronavirus.

The following table and interactive plot are provided by the functions contained in that Shiny app. The visualization effects of displaying Covid-19 general information are attractive for the users.

The Daily Situation and Cumulative Cases:

From the coronavirus data set in CovidYe package, you can easily understand the new confirmed cases, death and recovered cases in each day of the world, and have a clear understanding of the most serious period of time.

#> `summarise()` regrouping output by 'type' (override with `.groups` argument)
date confirmed death recovered totalconfirmed totalrecovered totaldeath
2020-01-22 555 17 28 555 28 17
2020-01-23 99 1 2 654 30 18
2020-01-24 287 8 6 941 36 26
2020-01-25 493 16 3 1,434 39 42
2020-01-26 684 14 13 2,118 52 56
2020-01-27 809 26 9 2,927 61 82
2020-01-28 2,651 49 46 5,578 107 131
2020-01-29 588 2 19 6,166 126 133
2020-01-30 2,068 38 17 8,234 143 171
2020-01-31 1,692 42 79 9,926 222 213
2020-02-01 2,112 46 62 12,038 284 259
2020-02-02 4,749 103 188 16,787 472 362
2020-02-03 3,100 64 151 19,887 623 426
2020-02-04 4,011 66 229 23,898 852 492
2020-02-05 3,745 72 272 27,643 1,124 564

The overall change trend of COVID-19:

I also provide a different way for users to understand the basic situation in my COVID-19 Shiny App which contains in CovidYe package, the interactive plots.

As shown in the figure below, users can learn about the specific situation of the day by clicking each point in the plot, which makes the content of the entire Shiny App more interesting and enables people to better understand the trend of COVID-19 epidemic situation.

#> `summarise()` regrouping output by 'type' (override with `.groups` argument)

The Current Situation of COVID-19 in Top 10 countries with most confirmed cases:

In addition to the general trend of the COVID-19 epidemic situation, I also provide the specific situation of the top 20 countries with the most confirmed cases, and show them with the bubble map. When users click on each bubble, they can have a good idea about the situation of the specific country from the popup. Also the position of the bubbles have great significance to explore which can provide many useful information.

#> `summarise()` regrouping output by 'country' (override with `.groups` argument)

Noted

Also there are two functions after refactoring in the package which can simplify the input selection in the Shiny app and the process of making formatted tables. You can find that in the pckdown site.