Skip to contents

Convert a long doi to the corresponding short doi

Usage

doi_to_short(long_doi)

Arguments

long_doi

A long doi in the form '10.1093/NAR/GKT1419'.

Value

A short doi.

Examples

doi_to_short("10.1093/NAR/GKT1419")
#> [1] "10/f5zkmw"