limit_datatype: Limit Dataset Type

View source: R/limit_datatype.R

limit_datatypeR Documentation

Limit Dataset Type

Description

This function limits the output of the Target Setting Tool data to either MER or SUBNAT (e.g. PLHIV, TX_CURR_SUBNAT) data. It will not be run if processing the PSNUxIM tab since that does not include any SUBNAT data.

Usage

limit_datatype(df, type)

Arguments

df

data frame read in and reshaped by import_dp and reshape_dp

type

dataset type, either "MER" or "PLHIV"

Value

data frame limited to either MER or SUBNAT data


USAID-OHA-SI/tameDP documentation built on March 16, 2024, 6:26 a.m.