README.md

hivstr

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.

Installation

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")

Usage

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")


psi-mis/hivstr documentation built on Jan. 28, 2021, 7:40 a.m.