Man pages for USAID-OHA-SI/gophr
Utility functions related to working with the MER Structured Dataset

achv_color_mapOHA Achievement Colors
add_varAdd variable if it doesn't exist
adorn_achievementAdorn Achievement - Percent and Color
apply_funding_typeApply Funding Type
apply_partner_typeApply partner type (local/international)
assign_quarterAssign Quarter
browse_knownissuesBrowse Known Issues
calc_achievementCalculate Achievement
cascade_indMER Clinical Cascade indicators
clean_agencyClean data from funding agency column
clean_columnClean column data
clean_indicatorClean indicators (apply _D suffix)
clean_knownissuesClean Known Issues Google Sheet
clean_psnuClean PSNU column data
color_achievementColor and label achievement
complete_exclude_varsAdd full set of exclusion variables
convert_coltypeConvert to specified column types
convert_namesConvert variables for alignment
extract_datim_namesExtract Data from DATIM
extract_metadataExtract MSD Source Information
extract_path_localExtract MSD path locally
extract_path_s3Extract MSD path on s3 from Data Mart
flag_knownissuesFlag Known Issues
get_knownissuesGet Known Issues locally
get_metadataExtract MSD Meta Data
get_pdap_locGet location Identify where a user is working - locally or on...
gs_id_knownissuesKnown Data Issues Tracker Google Sheet ID
handle_psd_formatRead a tsv and parquet file
identifypdExtract Current Reporting Period
identify_psdIdentify PSD Data Stream and Level
locate_bucketLocal PDAP Bucket
note_knownissuesNote Known Issues
pipePipe operator
pluck_totalsFilter for Only Totals in MSD
print_knownissuesPrint Known Issues to console
process_psdProcessing to handle PSD as a zip/txt file
read_msdImport PEPFAR Structured Datasets .txt into R and covert to...
read_psdImport PEPFAR Structured Datasets to R
remove_centralsupportRemove Central Support Reporting
remove_moRemove M&O funding
remove_schRemove Supply Chain Funding
rename_officialApply the latest mechanism and partner names from DATIM
rename_psdRename PSD file when importing
reshape_msdReshape MSD
resolve_knownissuesResolve Known Issues
snapshot_indMER Snapshot indicators
source_infoExtract MSD Source Information
split_saveExport a single dataset into multiple files by group
squish_knownissuesSquish Known Issues
validate_structureValidate supplied dataframe to ensure valid structure
var_existsCheck if all variables in list exist
var_missingCheck if all variables in list are missing
USAID-OHA-SI/gophr documentation built on Nov. 14, 2024, 8:30 p.m.