wd_ident {webchem} | R Documentation |
Retrieve identifiers from Wikidata
Description
Retrieve identifiers from Wikidata
Usage
wd_ident(id, verbose = getOption("verbose"))
Arguments
id |
character; identifier, as returned by |
verbose |
logical; print message during processing to console? |
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.
Note
Only matches in labels are returned. If more than one unique hit is found, only the first is returned.
References
Willighagen, E., 2015. Getting CAS registry numbers out of WikiData. The Winnower. 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
Examples
## Not run:
id <- c("Q408646", "Q18216")
wd_ident(id)
## End(Not run)
[Package webchem version 1.3.0 Index]