Visualizations and Reports for SWIM
See https://github.com/tlumip/tlumip/wiki/Visualizing-Outputs
This package uses some dependencies that are not on CRAN. Devtools should find most of these, but the following code will ensure you have all of them.
CRAN Dependencies
if("devtools" %in% rownames(installed.packages()) == FALSE) {install.packages("devtools")}
if("tidyverse" %in% rownames(installed.packages()) == FALSE) {install.packages("tidyverse")}
if("RSQLite" %in% rownames(installed.packages()) == FALSE) {install.packages("RSQLite")}
if("plotly" %in% rownames(installed.packages()) == FALSE) {install.packages("plotly")}
if("kfigr" %in% rownames(installed.packages()) == FALSE) {install.packages("kfigr")}
if("zoo" %in% rownames(installed.packages()) == FALSE) {install.packages("zoo")}
if("leaflet" %in% rownames(installed.packages()) == FALSE) {install.packages("leaflet")}
if("digest" %in% rownames(installed.packages()) == FALSE) {install.packages("digest")}
if("DT" %in% rownames(installed.packages()) == FALSE) {install.packages("DT")}
if("sf" %in% rownames(installed.packages()) == FALSE) {install.packages("sf")}
Bioconductor dependency for omxr
if("rhdf5" %in% rownames(installed.packages()) == FALSE) {
source("http://bioconductor.org/biocLite.R")
biocLite("rhdf5")
}
Github libraries
if("omxr" %in% rownames(installed.packages()) == FALSE) {
devtools::install_github("gregmacfarlane/omxr")
}
if("dplyrExtras" %in% rownames(installed.packages()) == FALSE) {
devtools::install_github("skranz/dplyrExtras")
}
if("outviz" %in% rownames(installed.packages()) == FALSE) {
devtools::install_github("pbsag/outviz")
}
if("swimr" %in% rownames(installed.packages()) == FALSE) {
devtools::install_github("tlumip/swimr", dependencies=FALSE)
}
swimr.Rproj
in RStudiovignettes\pop_and_emp.Rmd
Rmarkdown filedb_path
swimr.Rproj
in RStudiodata-raw
folderdata
folder