
Find best author matches
match_authors.Rd
Find best author matches
Usage
match_authors(
collection_author,
enriched_database_authors,
partial_method = "most words",
...
)
Value
a list of length 2 with:
$wanted
is a logical (TRUE/FALSE) vector with lengthlength(enriched_database_authors)
corresponding to the enriched database authors that most match the collection author.$message
detailing whether the author match was exact, partial or no match was found.
Examples
collection_author = 'Schult'
enriched_database_authors = c("(Lour.) Schult", "Borhidi & E.Martinez")
match_authors(collection_author, enriched_database_authors)
#> $wanted
#> [1] TRUE FALSE
#>
#> $message
#> [1] "(Partial author <most words>)"
#>