dq_path_missing_los_res_prior: PATH: Missing Residence Prior Length of Stay

View source: R/04_DataQuality_utils.R

dq_path_missing_los_res_priorR Documentation

PATH: Missing Residence Prior Length of Stay

Description

PATH: Missing Residence Prior Length of Stay

Usage

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

Arguments

served_in_date_range

(data.frame) See served_in_date_range

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 DQ: Path Checks: dq_SOAR_missing_at_exit(), dq_incorrect_path_contact_date(), dq_missing_path_contact(), dq_path_enrolled_missing(), dq_path_no_status_at_exit(), dq_path_reason_missing(), dq_path_status_determination(), dqu_project_small()


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