collect_observation_record: Collect observation record from observation dataset

View source: R/collect.R

collect_observation_recordR Documentation

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
)

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.

Value

A data frame of the observation dataset.

Examples

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

metalite documentation built on Sept. 11, 2024, 7:18 p.m.