Skip to contents

Retrieves upper-left header fields (columns beginning with "UL", such as UL1 and UL2) from metadata.

Usage

get_ulheader(df)

Arguments

df

A data frame containing metadata.

Value

A data frame of the non-missing Upper-Left header metadata fields.

See also

read_tfile() to read metadata from Excel or CSV;

get_title(), get_footnote(), get_source(), get_pop(), get_byline(), get_pgmname(), get_urheader(), and get_bookm() for retrieving individual annotation fields;

change_colname() to standardize column names in the metadata file.

Examples

meta <- data.frame(
  UL1 = "Drug X",
  UL2 = "Study 001",
  UR1 = "CONFIDENTIAL",
  UR2 = "VERSION: FINAL"
)

get_ulheader(meta)
#>      UL1       UL2
#> 1 Drug X Study 001