simplify_sdtm_names: Simplify the names of an SDTM data.frame to remove the DOMAIN...

View source: R/simplify_sdtm_names.R

simplify_sdtm_namesR Documentation

Simplify the names of an SDTM data.frame to remove the DOMAIN from name prefixes.

Description

Simplify the names of an SDTM data.frame to remove the DOMAIN from name prefixes.

Usage

simplify_sdtm_names(x)

Arguments

x

A data.frame of SDTM data from a single domain.

Details

WARNING: Currently, this is implemented by looking at the domain and stripping those characters from the beginning of any column names. If there are column names that incidentally start with the same two characters, the initial two characters will be removed in error (please report that as a bug).

Value

x with the DOMAIN removed from names.


billdenney/Rsdtm documentation built on Feb. 17, 2025, 8:32 a.m.