test_lookups: Sample lookups table

Description Usage Format Details Source Examples

Description

A subset of the CPRD lookup tables, for use with the extractEntity function. It is loaded using data() so the character strings are imported as factors.

Usage

1

Format

A data frame with 26 observations on the following 3 variables.

lookup

3-letter code for the lookup table, a factor with levels CER OPR POP RCT SEV SUM TQU YND

category

category code, a numeric vector

description

a factor with levels < <= = % Adverse Effect Age and race based Age based Allergy Data Not Entered Intolerance Mild Minimal No No Data Entered Tentative Unlikely Yes

Details

This is in a similar format to the CALIBER_LOOKUPS table in the CALIBERlookups package.

Source

Based on the CPRD GOLD lookups (www.cprd.com).

Examples

1

CALIBERdatamanage documentation built on Nov. 23, 2021, 3 p.m.