webchem (version 1.3.0)

wd_ident: Retrieve identifiers from Wikidata

Description

Retrieve identifiers from Wikidata

Usage

wd_ident(id, verbose = getOption("verbose"))

Value

A data.frame of identifiers. Currently these are 'smiles', 'cas', 'cid', 'einecs', 'csid', 'inchi', 'inchikey', 'drugbank', 'zvg', 'chebi', 'chembl', 'unii', 'lipidmaps', 'swisslipids' and source_url.

Arguments

id

character; identifier, as returned by get_wdid

verbose

logical; print message during processing to console?

References

Willighagen, E., 2015. Getting CAS registry numbers out of WikiData. The Winnower. tools:::Rd_expr_doi("10.15200/winn.142867.72538")

Mitraka, Elvira, Andra Waagmeester, Sebastian Burgstaller-Muehlbacher, et al. 2015 Wikidata: A Platform for Data Integration and Dissemination for the Life Sciences and beyond. bioRxiv: 031971.

See Also

get_wdid

Examples

Run this code
if (FALSE) {
 id <- c("Q408646", "Q18216")
 wd_ident(id)
}

Run the code above in your browser using DataLab