validateRefData: Validate refdata object used in matchApp

View source: R/make.R

validateRefDataR Documentation

Validate refdata object used in matchApp

Description

The refdata object is required in matchAppServer. For now, this calls an internal function to check that whatever is used as refdata contains numeric/factor-encoded attributes only, except for the fields given by customdata and subsetv.

Usage

validateRefData(dataset, customdata = "Cohort", subsetv = NULL)

Arguments

dataset

A 'data.table'.

customdata

Attribute column name, defaults to "Cohort". This should be changed if matching on something else, e.g. "Sites".

subsetv

Optional, the name of the column storing subset attribute for subsetted matching.


avucoh/DIVE documentation built on Aug. 29, 2023, 6:02 p.m.