interactive_label_match: interactive_label_match: match labels from one string vector...

View source: R/interactive_label_match.R

interactive_label_matchR Documentation

interactive_label_match: match labels from one string vector with another

Description

interactive_label_match: match labels from one string vector with another

Usage

interactive_label_match(
  labels1,
  labels2,
  accept_single = FALSE,
  prompt_equal = FALSE,
  diffprint = TRUE
)

Arguments

labels1

are the set of labels to match

labels2

are where to pull potential matches from

accept_single

default FALSE. if only one match, accept it.

prompt_equal

default FALSE. set to true if you want to confirm all matches

diffprint

default TRUE. show colored diff. only useful in terminal

Examples

   # as prefix
   labels1 <- ysr_datadict_nondirect$Field.Label
   label2 <- asr_datadict_nondirect$Field.Label
   interactive_label_match(labels1, labels2)

LabNeuroCogDevel/LNCDR documentation built on Oct. 13, 2023, 4:31 a.m.