Map compound names to PubChem CIDs
mapCompound2CID.Rd
This function maps compound names to PubChem CIDs using the PubChem REST API.
Examples
mapCompound2CID(c("aspirin", "caffeine"))
#> name cids
#> <char> <int>
#> 1: aspirin 2244
#> 2: caffeine 2519