docs/get-started.md

Get Started

Install

The tracker takes the form of a package, you can get it from Github with the remotes package.

# install.packages("remotes")
remotes::install_github("JohnCoene/coronavirus")

Ensure you are on the latest shinyMobile to ensure the icons and other things work correctly.

remotes::install_github("RinteRface/shinyMobile", force = TRUE) 

Test

You can test the app before preparing any kind of deployment (e.g.: set up a database). Load the library and use crawl_coronavirus to get data, then forward that data to the run_app function which launches the application.

library(coronavirus)

virus <- crawl_coronavirus()
run_app(virus)


JohnCoene/coronavirus documentation built on July 15, 2020, 4:58 a.m.