generate_tei_payload | R Documentation |
Create a tracked entity instance payload from a line list
generate_tei_payload( events, tracked_entity_type = NULL, tea = NULL, tea_mapping = NULL, is_a360connect_type = TRUE, is_a360connect_enrollment_type = TRUE )
events |
A data.frame of events to generate a payload. |
tracked_entity_type |
DHIS2 ID, the type of tracked entity attribute. |
tea |
A vector, specifies the tracked attributes. |
tea_mapping |
A data.frame object containing the tracked entity attributes and their uids. |
is_a360connect_type |
Logical. Use this to bypass |
is_a360connect_enrollment_type |
Logical, Use this to bypass |
A list, TEI payload
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.