dq_conflicting_hi_ee: Find Conflicting Health Insurance at Entry/Exit

View source: R/04_DataQuality_utils.R

dq_conflicting_hi_eeR Documentation

Find Conflicting Health Insurance at Entry/Exit

Description

If the user answered 'Yes' to 'Covered by Health Insurance?', then there should be a Health Insurance subassessment where it indicates which type of health insurance the client is receiving. Similarly if the user answered 'No', there should not be any Health Insurance records that say the client is receiving that type of Health Insurance.

Usage

dq_conflicting_hi_ee(
  served_in_date_range,
  IncomeBenefits,
  vars,
  guidance,
  app_env = get_app_env(e = rlang::caller_env())
)

Arguments

served_in_date_range

(data.frame) See served_in_date_range

IncomeBenefits

(data.frame) From the HUD CSV Export

vars

(named list)

  • prep Column names for Prep

  • we_want Column names for output

guidance

(list) See guidance

app_env

(app_env) R6 Object containing dependencies. If all arguments to this function are saved in the app_env, then they will be called from there and arguments do not need to be specified.

Value

(data.frame) vars$we_want and Issue (Issue Name), Type (Error or Warning), and Guidance (How to correct the issue)

See Also

Other Clarity Checks: dq_SOAR_missing_at_exit(), dq_check_disability_ssi(), dq_check_eligibility(), dq_conflicting_income(), dq_conflicting_unlikely_ncbs(), dq_date_homeless_after_entry(), dq_detail_missing_disabilities(), dq_dkr_LoS(), dq_dkr_destination(), dq_dkr_months_times_homeless(), dq_dkr_prior_living_situation(), dq_dob(), dq_duplicate_ees(), dq_future_ees(), dq_future_exits(), dq_gender(), dq_hh_children_only(), dq_hh_missing_rel_to_hoh(), dq_hh_no_hoh(), dq_incorrect_path_contact_date(), dq_invalid_months_times_homeless(), dq_mahoning_ce_60_days(), dq_missing_approx_date_homeless(), dq_missing_county_prior(), dq_missing_county_served(), dq_missing_destination(), dq_missing_hi_entry(), dq_missing_hi_exit(), dq_missing_income(), dq_missing_living_situation(), dq_missing_ncbs(), dq_missing_path_contact(), dq_missing_previous_street_ESSH(), dq_missing_prior_living_situation(), dq_months_homeless_tbd(), dq_name(), dq_overlaps(), dq_path_enrolled_missing(), dq_path_no_status_at_exit(), dq_path_reason_missing(), dq_path_status_determination(), dq_psh_check_exit_destination(), dq_psh_incorrect_destination(), dq_psh_missing_project_stay(), dq_race(), dq_referrals_on_hh_members_ssvf(), dq_referrals_outstanding(), dq_rrh_check_exit_destination(), dq_rrh_missing_project_stay(), dq_services_on_hh_members_ssvf(), dq_services_on_non_hoh(), dq_services_rent_paid_no_move_in(), dq_sh_check_exit_destination(), dq_sh_missing_project_stay(), dq_ssn(), dq_th_check_exit_destination(), dq_th_missing_project_stay(), dq_th_stayers_bos(), dq_veteran(), dq_without_spdats(), dqu_project_small(), overlaps(), overlaps_same_day()

Other DQ: Health Insurance Checks: dq_missing_hi_entry(), dq_missing_hi_exit()


COHHIO/Rm_data documentation built on Dec. 9, 2024, 2:10 p.m.