get_contents_cols: Function to return the unique contents of the column given...

Description Usage Arguments Value Examples

View source: R/IPDFileCheck.R

Description

Function to return the unique contents of the column given the column name

Usage

1

Arguments

data

a data frame

colname

name of column corresponding to year of birth

Value

the contents of the column, if success error if failure

Examples

1
2
3
4
get_contents_cols(data.frame(
  "yob" =  c(1951, 1980),
  "Name" =  c("John", "Dora")
), "yob")

IPDFileCheck documentation built on Feb. 1, 2022, 9:07 a.m.