All functions

apply_filetimestamp()

Apply Time Stamp to file and

check_content()

Validate output content

check_dates()

Validate dates

check_disaggs()

Validate disaggs for export

check_distinct_ous()

Check OUs listed in operatingunit

check_inds()

Validate indicators for export

check_mechs()

Validate mechanisms for export

check_orgunituids()

Validate orgunituids for export

check_output_cols()

Validate columns for export

check_template_cols()

Checks template's columns

confirm_validations()

Confirm validations of processed files

count_missing()

Count missing values

curr_fy

Current Fiscal Year

ddcpv_check()

DDC Pre-Validation Check

download_new()

Download New Submission to upload

extract_iso3code()

Extract OU ISO3 code

extract_mechcode()

Extract mechanism code

flag_extra()

Flag Extra Variables

flag_missing()

Flag Missing Variables

gen_url()

Generate a API URL

get_datim_data()

DATIM API Call for Targets

get_datim_targets()

DATIM API Call for Targets

get_operatingunit()

Get operating unit name

guess_operatingunit()

Get operating unit name

hfr_aggr()

Aggregate HFR dataframe

hfr_append_sources()

#' Append HFR and DATIM Data

hfr_assign_pds()

Add HFR Period column

hfr_export()

Export High Frequency Data

hfr_export_mech()

Export csv files by mechanism

hfr_extract_meta()

Extract Meta Data Information about Template

hfr_filter_pd()

Filter to Select HFR Period

hfr_fix_date()

Convert dates to date format

hfr_fix_noncompliance()

Resolve issues with non-standard entries

hfr_gap_target()

Generate Gap Targets

hfr_gather()

Reshape HFR Data frame long

hfr_group_wkly()

Create Monthly Aggregate for Weekly data

hfr_gs_statrep

DDC Status Report Google Sheet ID

hfr_identify_freq()

Identify reporting frequency

hfr_identify_pds()

Create a data frame of HFR weeks and periods

hfr_import()

Import template sheet(s)

hfr_munge_string()

Standardized Text

hfr_orgunit_search()

Search Org Hierarchy for Org Unit

hfr_process_template()

Import and Munge HFR Standard Templates

hfr_read()

Read in HFR output file

hfr_read_all()

Batch read hfr files

hfr_rectify_date()

Rectify Incorrectly Submitted Dates

hfr_restrict_cols()

Restrict HFR data frame columns

hfr_round_date()

Round Date Values

hierarchy_clean()

Clean up DATIM Hierarchy Path

hierarchy_extract()

Pull Hierarchy Data from DATIM

hierarchy_identify_ctry()

Extract country name from OU or country name

hierarchy_rename()

Rename Hierarchy from Levels to OU/SNU1/PSNU/Facility

identify_levels()

Identify Facility/Community levels in org hierarchy

identify_newfiles()

Identify New Submissions on Google Drive

identify_ouuids()

Pull OU UIDS

iso_map

ISO Code Mapping Table

is_date_valid()

Validate reporting dates

is_hfrtab()

Determine if there are tabs to import

is_mech4ou()

Validate mechanism code

is_mech_valid()

Validate mechanism code

is_metatab()

Determine whether meta tab exists

is_orgunituid4ou()

Check if orgunituid exist in operating unit

is_orgunituid_valid()

Check if Operating Unit name is valid

is_ou_valid()

Check if OperatingUnit is valid

load_lookups()

Load DATIM Look up tables

match_ignoredfiles()

Identify S3 file names matching Ignored files

opm_holiday

OPM Holiday

package_check()

Check if package exists

paint_blue()

Paint console text in blue

paint_green()

Paint console text in green

paint_red()

Paint console text in red

paint_yellow()

Paint console text in yellow

parse_submission()

Parse out submitted file components

pull_hierarchy()

Compile PEPFAR Hierarchy

pull_mech()

Pull Partner/Mechanism Info from DATIM

pull_mer()

Extract DATIM Results and Targets (DATIM API Call)

report_submissions_errors()

Report files validation

revert_validations()

Revert validated file to processed files

stash_outgoing()

Download from S3 and push to Google Drive

template_cols_long

Column Headers for HFR Long Template

template_cols_meta

Column Headers for HFR Indicator Meta Data

template_cols_wide

Column Headers for HFR Wide Template

template_cols_wide_lim

Column Headers for HFR Wide - Limited Template

tidy_sitelist()

Import and munge submitted site list

update_meta_mechs()

Update USAID Mechanism meta table

update_meta_mer()

Update MER meta table

update_meta_orgs()

Update Organization Hierarchy meta table

update_meta_targets()

Update MER targets from MSD (prior to site results being available)

update_operatingunits()

Update invalid operating units

upload_meta_table()

Push meta tables to Google Drive and s3

validate_date()

Validate HFR PD Date

validate_hfr_data()

Validate processed hfr data

validate_import()

Validation on import

validate_initial()

Initial Validation on Submitted template

validate_mechanism()

Validate mechanism code

validate_orgunit()

Validate org unit uid

validate_output()

Validation Checks

validate_submission()

Validate submitted files

validate_submissions()

Validate files

var_exists()

Check if variable exist