# NOT RUN {
# Calculated active clients using the derived current status
tx_curr(ndr_example)
# Calculate the active clients using the NDR `current_status_28_days` column
tx_curr(ndr_example, status = "default")
# generate the TX_CURR for two states (e.g. "Arewa" and "Okun" in the ndr_example file)
tx_curr(ndr_example,
states = c("Okun", "Arewa")
)
# determine the active clients in two facilities ("Facility1", and "Facility2) in "Abaji"
tx_curr(ndr_example,
states = "Abaji",
facilities = c("Facility1", "Facility2")
)
# }
Run the code above in your browser using DataLab