Learn R Programming

metalite (version 0.1.4)

collect_observation_record: Collect observation record from observation dataset

Description

The key variables used in id, group, and subset are displayed by default.

Usage

collect_observation_record(
  meta,
  population,
  observation,
  parameter,
  var = NULL
)

Value

A data frame of the observation dataset.

Arguments

meta

A meta_adam object.

population

A character value of population term name. The term name is used as key to link information.

observation

A character value of observation term name. The term name is used as key to link information.

parameter

A character value of parameter term name. The term name is used as key to link information.

var

A character vector of additional variables to be displayed in the output.

Examples

Run this code
meta <- meta_example()
collect_observation_record(meta, "apat", "wk12", "ser")
collect_observation_record(meta, "apat", "wk12", "ser", var = "AEDECOD")

Run the code above in your browser using DataLab