lazy_psnuxim_handling: Lazy PSNUxIM Tool handling

View source: R/utilities.R

lazy_psnuxim_handlingR Documentation

Lazy PSNUxIM Tool handling

Description

The default import option is "ALL" for 'tame_dp' which does not include PSNUxIM due to the inclusion of this tab with the full TST in previous years. The user will receive an error if they do not switch from the default. This function switches the type argument in tame_dp from "ALL" to "PSNUxIM" to avoid this problem and provides the user with both a warning and information on how to fix the problem running it in the future.

Usage

lazy_psnuxim_handling(filepath, type, import_tabs)

Arguments

filepath

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

type

dataset to extract "PSNUxIM", "SUBNAT", or "ALL" [default] or a specific tab

import_tabs

tabs imported as a result of the intersection of return_tab() and the tabs in the TST

Value

vector of tabs to read in


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