test_entity: Sample subset of the CPRD entity table

Description Usage Format Source Examples

Description

A 5-row subset of the CALIIBER entity table, for testing the extractEntity function.

Usage

1

Format

A data frame with 5 observations on the following 18 variables.

enttype

entity type, a numeric vector

data_fields

number of data fields, a numeric vector

data1

description of entry in data1, a factor with levels Diastolic Drug Code Operator Status

data1_lkup

lookup table for data1, a factor with levels OPR Product Dictionary YND

data2

description of entry in data2, a factor with levels Cigarettes per day Reaction Type Systolic Units per week Value

data2_lkup

lookup table for data2, a factor with levels RCT

data3

description of entry in data3, a factor with levels Cigars per day Korotkoff Severity Start Date Unit of measure

data3_lkup

lookup table for data3, a factor with levels SEV SUM YYYYMMDD

data4

description of entry in data4, a factor with levels Certainty Ounces of tobacco Qualifier Stop Date

data4_lkup

lookup table for data4, a factor with levels CER TQU YYYYMMDD

data5

description of entry in data5, a factor with levels Normal range from Read Code For Reaction Start Date

data5_lkup

lookup table for data5, a factor with levels GEN_SDC Medical Dictionary

data6

description of entry in data6, a factor with levels Normal range to Stop Date

data6_lkup

lookup table for data6, a factor with levels GEN_SDC

data7

description of entry in data7, a factor with levels Normal range basis

data7_lkup

lookup table for data7, a factor with levels POP

Source

Based on the entity table in the CPRD GOLD lookup tables.

Examples

1

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