Skip to contents

Convert unique identifiers to other unique identifiers.

Usage

identifier_from_identifier(
  property = "ORCID iD",
  return = "IMDb ID",
  value = "0000-0002-7865-7235"
)

Arguments

property

The identifier property to search (for caveats, see as_pid)

return

The identifier property to convert to

value

The identifier value to match.

Value

A vector of identifiers corresponding to identifiers submitted.

Examples

identifier_from_identifier(property ='ORCID iD',
                           return = 'IMDb ID',
                           value = c('0000-0002-7865-7235','0000-0003-1079-5604')
                           )
#> Rows: 1 Columns: 1
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr (1): return
#> 
#>  Use `spec()` to retrieve the full column specification for this data.
#>  Specify the column types or set `show_col_types = FALSE` to quiet this message.
#> Rows: 1 Columns: 1
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr (1): return
#> 
#>  Use `spec()` to retrieve the full column specification for this data.
#>  Specify the column types or set `show_col_types = FALSE` to quiet this message.
#> 0000-0002-7865-7235 0000-0003-1079-5604 
#>         "nm2118834"         "nm1821217"