
Primary (lossy) reason bucket: the first matching bucket.
Source:R/reasons.R
primary_reason_bucket.RdCoarse and English-only; for reasons with several causes it keeps only the
first match in bucket order (misconduct > plagiarism > error > ethical >
process). Use reason_buckets() to keep all causes.
Examples
primary_reason_bucket(c("Fabrication of data", "Duplicate publication", "Unknown"))
#> [1] "misconduct" "plagiarism" "other"