Skip to contents

Retrieves upper-right header fields (columns beginning with "UR", such as UR1 and UR2) from metadata.

Usage

get_urheader(df)

Arguments

df

A data frame containing metadata.

Value

A data frame of the non-missing upper-right 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_ulheader(), 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_urheader(meta)
#>            UR1            UR2
#> 1 CONFIDENTIAL VERSION: FINAL