height_invalid: Getting Invalid Examples and Summaries for Height and...

Description Usage Arguments Details Value

View source: R/height_invalid.R

Description

This function will generate two data frames: first, a frame to be used later to extract invalid examples from; second, a frame that contains facility-level summaries for counts and percentages of height invalids. The valid values were taken from the '"PHVS_HeightUnit_UCUM_V1.xls"' file from Public Health Information Network Vocabulary Access and Distribution System value sets. This function will test to see if valid Height_Units are reported. It also, checks however: If Height is reported, are Height_Units also reported? If Height_Units are reported, is Height also reported? Heights without Units are considered invalid; similarly, Units are considered invalid if Height is not reported with the Units.

Usage

1

Arguments

data

The raw data from BioSense on which you will do the invalid height checks.

Details

You can view the concept names that are considered valid by calling 'data("height_units")'.

Value

A list of two data frames: examples and summary for invalid Height and Height_Units.


SophiaLC/IHI_DQ documentation built on Oct. 23, 2020, 2:35 a.m.