Skip to contents

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