Skip to contents

Finds RRIDs, DOIs, catalog numbers, database accessions, and PMIDs in a block of text and classifies each. Used by the regex extraction engine and available on its own.

Usage

scan_identifiers(text)

Arguments

text

A character vector of text.

Value

A data frame with columns value, field, type (an inferred resource type, or NA), and confidence ("high" for precisely anchored schemes such as RRID/DOI/accession/PMID, "medium" for looser catalog-number matches) so the results can be triaged before acceptance.

Examples

scan_identifiers("We used anti-TH (RRID:AB_390204) and FIJI (RRID:SCR_002285).")
#>        value field          type confidence
#> 1  AB_390204  rrid      Antibody       high
#> 2 SCR_002285  rrid Software/code       high