Package: tameDP 6.2.4

Aaron Chafetz

tameDP: Import targets and PLHIV data from COP Target Setting Tool (formerly Data Pack)

Import PSNUxIM targets and PLHIV data from COP Data Pack. The purpose is to make the data tidy and more usable than their current structure in the Excel data packs.

Authors:Aaron Chafetz [aut, cre], Karishma Srikanth [aut], Baboyma Kagniniwa [ctb], Josh Davis [ctb]

tameDP_6.2.4.tar.gz
tameDP_6.2.4.zip(r-4.5)tameDP_6.2.4.zip(r-4.4)tameDP_6.2.4.zip(r-4.3)
tameDP_6.2.4.tgz(r-4.4-any)tameDP_6.2.4.tgz(r-4.3-any)
tameDP_6.2.4.tar.gz(r-4.5-noble)tameDP_6.2.4.tar.gz(r-4.4-noble)
tameDP_6.2.4.tgz(r-4.4-emscripten)tameDP_6.2.4.tgz(r-4.3-emscripten)
tameDP.pdf |tameDP.html
tameDP/json (API)
NEWS

# Install 'tameDP' in R:
install.packages('tameDP', repos = c('https://usaid-oha-si.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/usaid-oha-si/tamedp/issues

Datasets:

On CRAN:

5.49 score 1 stars 97 scripts 38 exports 29 dependencies

Last updated 8 months agofrom:e62274593d. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 23 2024
R-4.5-winWARNINGOct 23 2024
R-4.5-linuxWARNINGOct 23 2024
R-4.4-winWARNINGOct 23 2024
R-4.4-macWARNINGOct 23 2024
R-4.3-winWARNINGOct 23 2024
R-4.3-macWARNINGOct 23 2024

Exports:%>%agg_dpalign_msd_disaggapply_classapply_fyapply_prioritizationapply_snu1apply_stampsclean_indicatorsconvert_modsget_namesgrab_infograb_prioritizationgrab_snu1import_dpimport_plhivis_fileis_sheetis_xlsjoin_dp_msdlimit_datatypemap_disaggsmatch_col_typeno_connectionorder_varspivot_resultsreshape_dpreshape_psnuimreshape_tabreturn_tabsplit_psnusubset_prioritizationsubset_psnuximsubset_standardtame_dptame_jointame_plhivtame_subnat

Dependencies:cellrangerclicpp11crayoncurldplyrfansigenericsgluehmslifecyclemagrittrpillarpkgconfigprettyunitsprogresspurrrR6readxlrematchrlangstringistringrtibbletidyrtidyselectutf8vctrswithr

Combining TST Targets with the MSD

Rendered fromcombining-with-msd.Rmdusingknitr::rmarkdownon Oct 23 2024.

Last update: 2024-02-15
Started: 2022-02-10

Extracting Targets

Rendered fromextracting-targets.Rmdusingknitr::rmarkdownon Oct 23 2024.

Last update: 2024-02-29
Started: 2022-01-19

Setup

Rendered fromsetup.Rmdusingknitr::rmarkdownon Oct 23 2024.

Last update: 2024-02-29
Started: 2022-01-19

Readme and manuals

Help Manual

Help pageTopics
Crosswalk to collapse age bands in MSD to match TST for COP23age_band_crosswalk
Aggregate Targets to IM or PSNU levelagg_dp
Align MSD extract to disaggregates in Target Setting Toolalign_msd_disagg
Apply variable classapply_class
Apply Fiscal Yearapply_fy
Apply Prioritizationapply_prioritization
Apply SNU1 to dataframeapply_snu1
Apply Source File Name and Date Stampapply_stamps
Clean Up Indicators and Disaggregatesclean_indicators
Duplicate and convert modalities to HTS_TSTconvert_mods
Import mechanism specific info from DATIMget_names
Pull Information from Target Setting Tool "Home" Tabgrab_info
Identify Prioritizationgrab_prioritization
Identify SNU1 associated with PSNUgrab_snu1
Import Tabs from the Target Setting Toolimport_dp
Is the filepath correct for the Target Setting Toolis_file
Check if a sheet exits in Target Setting Toolis_sheet
Check if the filepath is .xls or .xlsxis_xls
Join TST output with MSD outputjoin_dp_msd
Limit Dataset Typelimit_datatype
Map Standardized Disaggregatemap_disaggs
Match Column Typematch_col_type
Table of indicators and their disaggsmer_disagg_mapping
Table of MER indicators and disaggs including historic results disaggs from 2024mer_historic_disagg_mapping_2024
Table of MER indicators and disaggs including historic results disaggsmsd_historic_disagg_mapping
Check if computer has internet connectionno_connection
Order variablesorder_vars
Current Table of PEPFAR Operating Units and Countiesou_ctry_mapping
Pivot Resultspivot_results
Reshape Target Setting Tool Longreshape_dp
Reshape Target Setting Tool Longreshape_psnuim
Reshape Target Setting Tool Tab Longreshape_tab
Return Tabreturn_tab
Clean & Separate PSNU and PSNU UIDSsplit_psnu
Subset Prioritization Tabsubset_prioritization
Subset PSNUxIM Tabsubset_psnuxim
Subset Standard Tabssubset_standard
Export Tidy data from Target Setting Tooltame_dp
Join TST output with MSD outputtame_join
Export Tidy PLHIV data from Target Setting Tooltame_plhiv
Export Tidy SUBNAT data from Target Setting Tooltame_subnat