Is it an NPI (US health provider)?
Value
Logical vector; TRUE for a 10-digit NPI whose Luhn check digit
(over the 80840 prefix + first 9 digits) is valid.
See also
Other research-id detectors:
is_doi(),
is_isbn(),
is_issn(),
is_orcid()
Examples
is_npi(c("1225155880", "1234567890", NA))
#> [1] TRUE FALSE NA