identifix 0.1.0
- First release.
idfix_match() matches two sets of sample names in steps
from strict to lenient (exact, whitespace, case, punctuation and
accents, leading zeros, dates, word order, typos, abbreviations, date
with additional words, and the optional subset step). Pairs are only
accepted if they are unambiguous in both complete sets.
idfix_report() lists matches, reasons for missing
matches and suggestions; manual corrections are recognised.
idfix_steps() describes the available steps.
- Duplicated names within a set are always an error; the message lists
all duplicates of all sets with their positions.
idfix_multi() matches more than two sets into one table
(one row per sample, one column per set), using a growing
reference.
idfix_rename() renames names into the spelling of
another set, either as a character vector or directly in vectors, lists,
data frames and matrices.
idfix_extradat() recognises dates in many formats and
languages, including typos in month names and ambiguous day/month
order.
idfix_review() checks pairs and unmatched names in a
review window (shiny, optional) or in the console; differences are
highlighted and the pairs to show can be chosen by confidence
level.
idfix_known() returns all decisions (from the review or
by hand; the latest change counts) for reuse; idfix_match()
and idfix_multi() take them as known:
confirmed pairs are matched first, rejected pairs never.
idfix_steps() and idfix_report() show the
confidence level of each step and pair; idfix_report() also
shows the review result.
- Depends on base R only; shiny is optional (suggested) for the review
window.