knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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.
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("psi-mis/a360connect")
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
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.