country_invalid: Getting Invalid Examples and Summaries for Patient_Country

Description Usage Arguments Details Value

View source: R/country_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 cases with invalid Patient_Country. The valid values were taken from the 'PHVS_Country_ISO_3166-1_V1.xls' file from Public Health Information Network Vocabulary Access and Distribution System value sets.

Usage

1

Arguments

data

The raw data From BioSense on which you will do the invalid Patient_Country check.

Details

You can view the concept codes that are considered valid by calling data("country").

Value

A list of two data frames: examples and summary for Patient_Country.


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