Package: selfdestructin5 0.4.0

Tim Essam

selfdestructin5: Creates SI OHA Mission Director Briefers

Creates a series of data frames that can be passed to a gt() to create the PEPFAR summary tables.

Authors:Tim Essam [aut, cre], Aaron Chafetz [aut], Karishma Srinkanth [aut]

selfdestructin5_0.4.0.tar.gz
selfdestructin5_0.4.0.zip(r-4.5)selfdestructin5_0.4.0.zip(r-4.4)selfdestructin5_0.4.0.zip(r-4.3)
selfdestructin5_0.4.0.tgz(r-4.4-any)selfdestructin5_0.4.0.tgz(r-4.3-any)
selfdestructin5_0.4.0.tar.gz(r-4.5-noble)selfdestructin5_0.4.0.tar.gz(r-4.4-noble)
selfdestructin5_0.4.0.tgz(r-4.4-emscripten)selfdestructin5_0.4.0.tgz(r-4.3-emscripten)
selfdestructin5.pdf |selfdestructin5.html
selfdestructin5/json (API)
NEWS

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

Peer review:

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

Datasets:
  • mdb_tbl - Mdb_tbl: Example Data Set

On CRAN:

4.31 score 1 stars 68 scripts 23 exports 115 dependencies

Last updated 5 months agofrom:bd60b20478. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winWARNINGNov 08 2024
R-4.5-linuxWARNINGNov 08 2024
R-4.4-winWARNINGNov 08 2024
R-4.4-macWARNINGNov 08 2024
R-4.3-winWARNINGNov 08 2024
R-4.3-macWARNINGNov 08 2024

Exports:%>%bold_columnbold_rowgroupcollapse_base_tblcollapse_vlc_tblcreate_mdbembiggenfetch_indicatorsfetch_metadataformat_indicatorlabel_aggregationlegendmake_achv_shapemake_chg_shapemake_mdb_dfmake_mdb_tx_dfmdb_main_thememdb_treatment_thememsd_periodpast_fyreshape_mdb_dfreshape_mdb_tx_dfset_metadata

Dependencies:askpassassertthatbase64encbigDbitbit64bitopsbslibcachemcellrangerclicliprcolorspacecommonmarkcpp11crayoncredentialscurldescdigestdplyrevaluatefansifarverfastmapfilelockfontawesomefsgarglegenericsgertgetPassggplot2ghgitcredsglamrglitrgluegoogledrivegooglesheets4gophrgtgtablehighrhmshtmltoolshtmlwidgetshttrhttr2idsiniisobandjquerylibjsonlitejuicyjuicekeyringknitrlabelinglatticelifecyclelubridatemagrittrmarkdownMASSMatrixmemoisemgcvmimemunsellnlmeopensslpillarpkgconfigprettyunitsprogresspurrrR6rappdirsRColorBrewerRcppreactablereactRreadrrematchrematch2rlangrmarkdownrprojrootrstudioapisassscalessodiumstringistringrsyssystemfontstibbletidyrtidyselecttimechangetinytextzdbusethisutf8uuidV8vctrsviridisLitevroomwhiskerwithrxfunxml2yamlzip

Creating Summary Tables

Rendered fromcreating-summary-tables.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2024-07-11
Started: 2024-07-11

Readme and manuals

Help Manual

Help pageTopics
Bold columns inside gt objects Helper function to quickly make columns within table boldbold_column
Make all text larger Bold Agency names - used to increase stroke on row group labelbold_rowgroup
Calculate growth between two metrics that are positivecalc_growth
Collapse base MSD down to a desired level for main MDB tablecollapse_base_tbl
Collapse base MSD down to a desired level for core treatment indicatorscollapse_vlc_tbl
Wrapper function to create a MDB tablecreate_mdb
Embiggen parts of mdb table A noble spirit embiggens the smallest manembiggen
Extract a vector of numeric column namesextract_num_colnames
Fetches indicators used to make tables, accounting for quarter of MSD and semi-annual indicatorsfetch_indicators
Fetch metadatafetch_metadata
Formats PEPFAR indicators for MDB tablesformat_indicator
Label aggregation levellabel_aggregation
Object pointing to github location of legend for Q1legend
Object pointing to github location of legend for Q1legend_q1
Object pointing to github location of legend for Q2legend_q2
Object pointing to github location of legend for Q3legend_q3
Object pointing to github location of legend for snapshot indicators and Q4legend_snapshot
Generate colored circle as an svgmake_achv_shape
Create fontawesome performance arrowmake_chg_shape
Create a base table of MDB indicators stacked longmake_mdb_df
Creates the base table for the treatment / VLS MDB tablesmake_mdb_tx_df
GT theme for main MDB tablesmdb_main_theme
mdb_tbl: Example Data Setmdb_tbl
GT theme for main MDB tablesmdb_treatment_theme
Identify MSD Period and Typemsd_period
Prepare filtered data frame for MSD briefer formattingreshape_mdb_df
Prepare filtered data frame of treatment indicators for MDB formattingreshape_mdb_tx_df
Set metadataset_metadata