View source: R/recent_eligible.R
recent_eligible | R Documentation |
Subset Clients who had Recent Infection Test Done during a period of Interest
recent_eligible(data, from = NULL, to = NULL, states = NULL, facilities = NULL)
data |
An NDR dataframe imported using the |
from |
The start date in ISO8601 format (i.e. "yyyy-mm-dd"). The default is to start at the beginning of the current Fiscal Year (i.e. 1st of October). |
to |
The end date written in ISO8601 format (i.e. "yyyy-mm-dd"). The default is the date of analysis. |
states |
The name(s) of the State(s) of interest. The default utilizes all
the states in the dataframe. If specifying more than one state, combine the
states using the |
facilities |
The name(s) of the facilit(ies) of interest. Default is to utilize
all the facilities contained in the dataframe. If specifying more than one
facility, combine the facilities using the |
line-list of clients who had recent HIV infection test done during the period of interest
## Line-list all HIV positive clients who are eligible for recency testing hts_pos <- hts_tst_pos(recency_example) recent_eligible(hts_pos, state = "Arewa") # eligible clients in 'Arewa' state
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.