makeMapping {safetyGraphics}R Documentation

Create data mapping based on data standards and user input

Description

Create data mapping based on data standards and user input

Usage

makeMapping(domainData, meta, autoMapping, customMapping)

Arguments

domainData

named list of data.frames to be loaded in to the app. Sample AdAM data from the safetyData package used by default

meta

data frame containing the metadata for use in the app.

autoMapping

boolean indicating whether the app should use safetyGraphics::detectStandard() to detect data standards and automatically generate mappings for the data provided. Values specified in the customMapping parameter overwrite auto-generated mappings when both are found. Defaults to true.

customMapping

optional list specifying initial mapping values within each data mapping (e.g. list(aes= list(id_col='USUBJID', seq_col='AESEQ')).

Value

List containing data standard information and mapping


[Package safetyGraphics version 2.1.1 Index]