convert_to_isbn_13 | R Documentation |
Takes a string representation of an ISBN 10 and converts it to an ISBN 13.
convert_to_isbn_13(x, skip.validity.check = FALSE, errors.as.nas = FALSE)
x |
A string of 10 digits or 9 digits with terminal "X" |
skip.validity.check |
Skip the checking for whether the ISBN 10 is valid
(default is |
errors.as.nas |
return NA if error instead of throwing error
(default is |
Returns ISBN 13 as a string
convert_to_isbn_13("012491540X") # 9780124915404
# vectorized
convert_to_isbn_13(c("012491540X", "9004037810"))
# "9780124915404" "9789004037816"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.