Package: webchem 1.3.1

Tamás Stirling

webchem: Chemical Information from the Web

Chemical information from around the web. This package interacts with a suite of web services for chemical information. Sources include: Alan Wood's Compendium of Pesticide Common Names, Chemical Identifier Resolver, ChEBI, Chemical Translation Service, ChemSpider, ETOX, Flavornet, NIST Chemistry WebBook, OPSIN, PubChem, SRS, Wikidata.

Authors:Eduard Szöcs [aut], Robert Allaway [ctb], Daniel Muench [ctb], Johannes Ranke [ctb], Andreas Scharmüller [ctb], Eric R Scott [ctb], Jan Stanstrup [ctb], João Vitor F Cavalcante [ctb], Gordon Getzinger [ctb], Ethan Bass [ctb], Tamás Stirling [ctb, cre]

webchem_1.3.1.tar.gz
webchem_1.3.1.zip(r-4.7-any)webchem_1.3.1.zip(r-4.6-any)webchem_1.3.1.zip(r-4.5-any)
webchem_1.3.1.tgz(r-4.6-any)webchem_1.3.1.tgz(r-4.5-any)
webchem_1.3.1.tar.gz(r-4.7-any)webchem_1.3.1.tar.gz(r-4.6-any)
webchem_1.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
webchem/json (API)

# Install 'webchem' in R:
install.packages('webchem', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ropensci/webchem/issues

Pkgdown/docs site:https://docs.ropensci.org

Datasets:
  • jagst - Organic plant protection products in the river Jagst / Germany in 2013
  • lc50 - Acute toxicity data from U.S. EPA ECOTOX

On CRAN:

Conda:

cas-numberchemical-informationchemspideridentifierropensciwebscraping

11.83 score 186 stars 11 packages 219 scripts 988 downloads 3 mentions 69 exports 43 dependencies

Last updated from:b0b8f8e1b3 (on master). Checks:2 NOTE, 8 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develNOTE171
pkgdown docsOK265
source / vignettesOK227
linux-releaseOK150
macos-releaseOK129
macos-oldrelOK111
windows-develNOTE107
windows-releaseOK103
windows-oldrelOK112
wasm-releaseOK127

Exports:as.casaw_querybcpc_querycaschebi_comp_entitychembl_atc_classeschembl_imgchembl_querychembl_resourceschembl_statusci_querycid_compinfocircir_imgcir_querycs_check_keycs_compinfocs_controlcs_convertcs_datasourcescs_extcompinfocs_imgcs_propcts_compinfocts_convertcts_fromcts_todb_connectdb_download_chembldb_download_eupdb_download_foodbetox_basicetox_targetsetox_testseup_converteup_list_entrieseup_queryfind_dbfn_perceptfoodb_convertfoodb_list_compoundsfoodb_queryget_chebiidget_cidget_csidget_etoxidget_wdidinchikeyis.casis.inchikeyis.inchikey_csis.inchikey_formatis.smilesnist_riopsin_querypan_queryparse_molpc_proppc_sectpc_synonymsping_servicepp_queryppdbppdb_parseppdb_querysmilessrs_querywd_identwrite_mol

Dependencies:askpassbase64encbitbit64blobcachemclicpp11curldata.treeDBIdigestdplyrfastmapgenericsgluehoardrhttrjsonlitelifecyclemagrittrmemoisemimeopensslpillarpkgconfigpurrrR6rappdirsrlangRSQLitervestselectrstringistringrsystibbletidyrtidyselectutf8vctrswithrxml2

pubchem-pages
Retrieve the data behind PubChem web pages | Getting started | Names and Identifiers | Synonyms | Chemical and Physical Properties | Spectral Information | Drug and Medical Information | Clinical Trials | Toxicity | Help Us Improve PubChem Access

Last update: 2026-07-30
Started: 2026-07-30

Getting started with webchem
Getting Identifiers | Retrieving Chemical Properties

Last update: 2023-06-08
Started: 2020-05-19

Readme and manuals

Help Manual

Help pageTopics
webchem: An R package to retrieve chemical information from the web.webchem-package webchem
Format numbers as CAS numbersas.cas
Query https://pesticidecompendium.bcpc.orgbcpc_query
Retrieve Complete Entity from ChEBIchebi_comp_entity
Retrieve all ATC classeschembl_atc_classes
Download images from ChEMBLchembl_img
Query ChEMBLchembl_query
List ChEMBL Resourceschembl_resources
Retrieve ChEMBL webservice statuschembl_status
Query Chemical Identifier Resolver Imagescir_img
Query Chemical Identifier Resolvercir_query
Retrieve ChemSpider API keycs_check_key
Retrieve record details by ChemSpider IDcs_compinfo
Control ChemSpider API requestscs_control
Convert identifiers using ChemSpidercs_convert
Retrieve ChemSpider data sourcescs_datasources
Get extended record details by ChemSpider IDcs_extcompinfo
Download images from ChemSpidercs_img
Get record details from Chemical Translation Service (CTS)cts_compinfo
Convert Ids using Chemical Translation Service (CTS)cts_convert
Return a list of all possible idscts_from
Return a list of all possible idscts_to
Connect to a databasedb_connect
Download ChEMBL databasedb_download_chembl
Download the EU Pesticides database and convert to SQLitedb_download_eup
Download FooDB databasedb_download_foodb
Get basic information from a ETOX IDetox_basic
Get Quality Targets from a ETOX IDetox_targets
Get Tests from a ETOX IDetox_tests
Convert identifiers in the local EU Pesticides databaseeup_convert
List available entries in the local EU Pesticides databaseeup_list_entries
Query EU Pesticideseup_query
Extract parts from webchem objectscas extractors inchikey smiles
Check data source coverage of compoundsfind_db
Retrieve flavor percepts from www.flavornet.orgfn_percept
Convert compound identifiers in the local FooDB databasefoodb_convert
List available compound identifiers in the local FooDB databasefoodb_list_compounds
Query the local FooDB database for compound informationfoodb_query
Retrieve Lite Entity (identifiers) from ChEBIget_chebiid
Retrieve Pubchem Compound ID (CID)get_cid
ChemSpider ID from compound name, formula, SMILES, InChI or InChIKeyget_csid
Get ETOX IDget_etoxid
Get Wikidata Item IDget_wdid
Check if input is a valid CASis.cas
Check if input is a valid inchikeyis.inchikey
Check if input is a valid inchikey using ChemSpider APIis.inchikey_cs
Check if input is a valid inchikey using formatis.inchikey_format
Check if input is a SMILES stringis.smiles
Organic plant protection products in the river Jagst / Germany in 2013jagst
Acute toxicity data from U.S. EPA ECOTOXlc50
Retrieve retention indices from NISTnist_ri
OPSIN web interfaceopsin_query
Parse Molfile (as returned by ChemSpider) into a R-object.parse_mol
Retrieve compound properties from a pubchem CIDpc_prop
Retrieve data from PubChem content pagespc_sect
Search synonyms in pubchempc_synonyms
Ping an API used in webchem to see if it's working.ping_service
Get record details from U.S. EPA Substance Registry Servives (SRS)srs_query
Retrieve identifiers from Wikidatawd_ident
Defunct function(s) in the webchem packagecir ci_query cs_prop pan_query ppdb ppdb_parse ppdb_query pp_query webchem-defunct
Deprecated function(s) in the webchem packageaw_query cid_compinfo webchem-deprecated
Auto-translate identifiers and search databaseswith_cts
Export a Chemical Structure in .mol Format.write_mol