knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of hivstr is to bypass using the Kenya HIV self-testing distribution channels, a category combination, directly from the analytic views, making it easier to relate the HIV self-testing data on a single chart/table.
hivstr is on its way to CRAN. You can install the released version of hivstr from CRAN with:
install.packages("hivstr")
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("psi-mis/hivstr")
Load the package with:
library(hivstr)
Then set and pass credentials to a PSI MIS.
# server url, default is clone baseurl <- "https://clone.psi-mis.org/" # enter username & password usr <- "ke_tunza" pwd <- "#" # login to a PSI MIS #api_basic_auth(baseurl = baseurl, username = usr, password = pwd)
Run this function to bypass HIVST KE distribution channels:
#bypass_ke_distr(baseurl)
Alternatively, please download the scripted file here and source it from your R CMD like this:
source("~ the location of the script")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.