recode_ipd: Function to recode old excel-based HIS IPD linelist data to...

Description Usage Arguments Author(s)

View source: R/recode_ipd.R

Description

Function to recode old excel-based HIS IPD linelist data to DHIS2 format Not a user-facing function (called within read_msf_data())

Usage

1
recode_ipd(x, chronic_defs = TRUE)

Arguments

x

A dataset produced by epitsa::clean_ipd
function

chronic_defs

Logical (TRUE/FALSE) to define if want to stick to the HIS team definition for chronic conditions (default is TRUE). This will put all old HIS chronic conditions in to new DHIS2 "Other chronic conditions". Otherwise (if set to FALSE) leave as "Chronic diseases" to make available for individually manipulating to combine with DHIS2 data.

Author(s)

Alex Spina


R4EPI/epitsa documentation built on Dec. 18, 2021, 8:45 a.m.