The ordered set of values the match_signal column of
sm_affiliation_match() / sm_affiliation_summary() can take. Using this
helper (rather than hard-coding strings) means downstream filtering — e.g.
separating institution-name matches from email-domain matches — cannot
drift if the levels change.
Value
A character vector (ordered, highest matching priority first) or a
tibble of level/description.
Examples
sm_affiliation_signals()
#> [1] "name_token" "email_domain" "postcode" "none"
sm_affiliation_signals(describe = TRUE)
#> # A tibble: 4 × 2
#> level description
#> <fct> <chr>
#> 1 name_token Institution name token matched a dictionary pattern.
#> 2 email_domain Author email domain matched a dictionary email domain.
#> 3 postcode Affiliation postcode matched a dictionary postcode (opt-in).
#> 4 none No signal matched this authorship.