Skip to contents

Convert unique identifiers to QIDs (for items in Wikidata).

Usage

qid_from_identifier(
  property = "DOI",
  value = c("10.15347/WJM/2019.001", "10.15347/WJM/2020.002")
)

Arguments

property

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

value

The identifier value to match.

Value

A vector of QIDs corresponding to identifiers submitted.

Details

The Wikidata Q identifier (QID) is the unique identifier (UID) used in Wikidata.

Examples

qid_from_identifier('ISBN-13','978-0-262-53817-6')
#> Rows: 1 Columns: 1
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr (1): value
#> 
#>  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.
#> 978-0-262-53817-6 
#>      "Q102035721"