knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

a360connect

Codecov test coverage Lifecycle: stable

The goal of a360connect is to integrate data from the A360 single events program, Attendance and Service Log, into a DHIS2 tracker program, Provider Call Log, to allow follow-up on clients on a method for method continuation.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("psi-mis/a360connect")

Getting started

The next step after installation is to add the configuration settings to the r_environ file:

# open the r_env file
usethis::edit_r_environ()

Add the following to the r_environ file:

CLONE = "https://play.dhis2.org/" # test server url
C_USER = "admin" # DHIS2 username
C_PASS = "district" # DHIS2 Password
PROGRAM = "QXuYEgGmTjX" # the ID of DHIS2 program to import the teis
BASEURL = "https://play.dhis2.org/" # production server
TRACKED_ENTITY_TYPE = "XV3kldsZq0H"# DHIS2 ID of the tracked entity type

Get A360 events from the Attendance and Service Log program

This is a basic example which shows you how to get A360 events from the Attendance and Service Log program:

library(a360connect)
## basic example code


psi-mis/a360connect documentation built on Nov. 22, 2022, 12:36 p.m.