Skip to contents

tame_subnat is a sister function to tame_dp, which readings in the SUBNAT and PLHIV data from the Target Setting Tool and munging in into a tidy data frame to make it more usable to interact with the data than the way it is stored in the Target Setting Tool. **Given the changes to the Target Setting Tool each year, the function only works going back to COP21.**

Usage

tame_subnat(filepath)

Arguments

filepath

file path to the Target Setting Tool importing, must be .xlsx

See also

Other primary: tame_dp(), tame_plhiv()

Examples

if (FALSE) {
#DP file path
  path <- "../Downloads/DataPack_Jupiter_20200218.xlsx"
#read in Target Setting Tool
  df_subnat <- tame_subnat(path)
}