README.md

pkgTesting

License: GPL
v3

Author: Adam Coger

This package is to hold a Shiny app for making and viewing graphs of COVID-19 data in the United States. It does access the web, so it is of no use while offline. The name “pkgTesting” came from trying to use this as practice for “writing a shiny app as a package”.

Installation

For non-R users (on Windows):

Currently Broken: Sorry ~~You can download just the setup file and it should place a shortcut on your desktop at the end of the installation.~~

For general R users:

You can install the development version from GitHub in R with the folling lines of code:

devtools::install_github("monkeychex3/pkgTesting")

The main launching function is called as:

pkgTesting::runApp()

Walkthrough

  1. This app’s tabs are navigated using the navigation bar. It is only a recommended order to proceed in, but once the data is loaded in and states are selected, everything will update dynamically to changes made. So returning to previous tabs is not discouraged.

  1. Below is the first tab shown when launched. It is to select a date range to load in. On button press, it downloads the data and saves into into a data frame. There is currently no "loading message", but will show an error if one occurs.

  1. After loading in the data over the supplied date range, this tab is to narrow down which states to look at. The summary statistics on the right are cumulative of the selected states, but this is just to verify that the checklist is functioning properly to the user.

  1. Here is the most interesting tab for curious users. It allows you to make new variables as combinations of previous ones. Users are allowed to chain together new variables as operations on other variables they have created as well.

  1. This tab is for the visualization and comparison of variables (included or made).

Reference

this package was built using COVID19::covid19() from https://covid19datahub.io

Guidotti, E., Ardia, D., (2020). COVID-19 Data Hub Journal of Open Source Software, 5(51):2376 https://doi.org/10.21105/joss.02376



monkeychex3/pkgTesting documentation built on Jan. 30, 2022, 9:11 a.m.