Skip to contents

Compare two authors

Usage

author_check(original_author, proposed_author)

Arguments

original_author, proposed_author

The authors to be compared.

Value

Either `Identical', 'Partial' or 'Different'.

Details

The result from the comparison is:

  • "Identical" if the two author strings are equal (original_author == proposed_author),

  • "Partial" if any of the words in either author is found in the other. Author words are found using author_words().

  • "Different" otherwise.

Examples

author_check("Schott", "Schott")
#> [1] "Identical"
author_check("Scott", "Schott")
#> [1] "Different"
author_check("(Jacq.) Schott", "Schott")
#> [1] "Partial"