read_ct_spec {sdtm.oak} | R Documentation |
Read in a controlled terminology
Description
read_ct_spec()
imports a controlled terminology specification data set as a
tibble.
Usage
read_ct_spec(file = cli::cli_abort("`file` must be specified"))
Arguments
file |
A path to a file containing a controlled terminology specification data set. The following are expected of this file:
|
Value
A tibble with a controlled terminology specification.
Examples
# Get the local path to one of the controlled terminology example files.
path <- ct_spec_example("ct-01-cm")
# Import it to R.
read_ct_spec(file = path)
[Package sdtm.oak version 0.2.0 Index]