{"id":13586777,"url":"https://github.com/ropensci/webchem","last_synced_at":"2026-02-22T19:05:40.074Z","repository":{"id":28214347,"uuid":"31718339","full_name":"ropensci/webchem","owner":"ropensci","description":"Chemical Information from the Web","archived":false,"fork":false,"pushed_at":"2025-11-23T18:09:12.000Z","size":4292,"stargazers_count":173,"open_issues_count":60,"forks_count":44,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-12-09T01:28:05.360Z","etag":null,"topics":["cas-number","chemical-information","chemspider","identifier","r","r-package","ropensci","rstats","webscraping"],"latest_commit_sha":null,"homepage":"https://docs.ropensci.org/webchem","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ropensci.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-03-05T14:41:50.000Z","updated_at":"2025-12-09T01:02:21.000Z","dependencies_parsed_at":"2023-01-14T08:22:06.547Z","dependency_job_id":"731637b5-e79f-468e-91e5-c2366ee7e0b4","html_url":"https://github.com/ropensci/webchem","commit_stats":{"total_commits":1343,"total_committers":17,"mean_commits":79.0,"dds":0.5904690990320178,"last_synced_commit":"308054c1faf1fa8d93301861ca822fadded386a2"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/ropensci/webchem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fwebchem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fwebchem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fwebchem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fwebchem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","download_url":"https://codeload.github.com/ropensci/webchem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fwebchem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29723574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cas-number","chemical-information","chemspider","identifier","r","r-package","ropensci","rstats","webscraping"],"created_at":"2024-08-01T15:05:48.237Z","updated_at":"2026-02-22T19:05:40.053Z","avatar_url":"https://github.com/ropensci.png","language":"R","funding_links":[],"categories":["R","Libraries"],"sub_categories":["Web APIs"],"readme":"---\noutput: github_document\neditor_options: \n  chunk_output_type: console\n---\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r echo=FALSE}\nknitr::opts_chunk$set(\n  warning = FALSE, \n  message = FALSE,\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\",\n  cache = TRUE\n)\n```\n# Webchem\n\n\u003c!-- badges: start --\u003e\n\n[![status](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n[![CRAN](https://www.r-pkg.org/badges/version/webchem)](https://CRAN.R-project.org/package=webchem)\n[![R-multiverse status](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fcommunity.r-multiverse.org%2Fapi%2Fpackages%2Fwebchem\u0026query=%24.Version\u0026label=r-multiverse)](https://community.r-multiverse.org/webchem) \n[![R build status](https://github.com/ropensci/webchem/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/webchem/actions)\n[![Coverage](https://codecov.io/github/ropensci/webchem/coverage.svg?branch=master)](https://app.codecov.io/gh/ropensci/webchem/branch/master) \n[![Downloads](https://cranlogs.r-pkg.org/badges/webchem)](https://cran.r-project.org/package=webchem)\n[![Total Downloads](https://cranlogs.r-pkg.org/badges/grand-total/webchem?color=blue)](https://cran.r-project.org/package=webchem)\n[![DOI](https://img.shields.io/badge/DOI-10.18637%2Fjss.v093.i13-blue)](https://doi.org/10.18637/jss.v093.i13)\n\n\u003c!-- badges: end --\u003e\n\n`webchem` is a R package to retrieve chemical information from  the web. \nThis package interacts with a suite of web APIs to retrieve chemical information.\n\nThe functions in the package that hit a specific API have a prefix and suffix separated by an underscore (`prefix_suffix()`).\nThey follow the format of `source_functionality`, with the exception of functions that retrieve database identifiers which follow the format of `get_identifier`. e.g.`cs_compinfo` uses ChemSpider to retrieve compound informations and `get_csid()` retrieves ChemSpider IDs.\n\n## Chemical databases currently accessed by webchem\n\nAt least some of the data in the following sources is accesible through `webchem` functions.  To learn more about what is available, browse the documentation [here](https://docs.ropensci.org/webchem/reference/index.html).\n\n- [BCPC Compendium of Pesticide Common Names](https://pesticidecompendium.bcpc.org) (formerly Alan Wood's Compendium of Pesticide Common Names)\n- [ChEBI](https://www.ebi.ac.uk/chebi/)\n- [ChEMBL](https://www.ebi.ac.uk/chembl/)\n- [Chemical Identifier Resolver (CIR)](https://cactus.nci.nih.gov/chemical/structure)\n- [Chemical Translation Service (CTS)](http://cts.fiehnlab.ucdavis.edu/)\n- [ChemSpider](https://www.chemspider.com/) (requires an [API token](https://developer.rsc.org/))\n- [ETOX](http://webetox.uba.de/webETOX/index.do)\n- [Flavornet](http://www.flavornet.org) \n- [NIST](https://webbook.nist.gov) (currently gas chromatography retention indices only)\n- [OPSIN](https://www.ebi.ac.uk/opsin/)\n- [PubChem](https://pubchem.ncbi.nlm.nih.gov/)\n- [U.S. EPA Substance Registry Service (SRS)](https://cdxnodengn.epa.gov/cdx-srs-rest/)\n- [Wikidata](https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry)\n\n#### API keys\n\nSome ChemSpider functions require an API key. \nPlease register at RSC (https://developer.rsc.org/) to retrieve an API key.\n\n## Installation\n#### Install from CRAN (stable version)\n\n```{r install_cran, eval=FALSE}\ninstall.packages(\"webchem\")\n```\n\n\n#### Install from Github (development version)\n\n```{r install_github, eval=FALSE}\ninstall.packages(\"devtools\")\nlibrary(\"devtools\")\ninstall_github(\"ropensci/webchem\")\n```\n\n### Use Cases\n\nSee how `webchem` has been used or cited in literature [here](https://scholar.google.com/scholar?cites=14244442030948237605\u0026as_sdt=40000005\u0026sciodt=0,22\u0026hl=en).\n\n### Citation\n\nIf you use `webchem` in a publication, please cite our paper:\n\n- Szöcs E, Stirling T, Scott ER, et al (2020) webchem: An R Package to Retrieve Chemical Information from the Web. J Stat Soft 93:. https://doi.org/10.18637/jss.v093.i13\n\n\n### Acknowledgements\nWithout the fantastic web services `webchem` wouldn't be here. Therefore, kudos to the web service providers and developers! Please remember to acknowledge these data resources in your work using `webchem`.\n\n### Want to contribute?\n\nCheck out our [contribution guide here](https://github.com/ropensci/webchem/blob/master/CONTRIBUTING.md).\n\n### Meta\n\n- Please [report any issues, bugs or feature requests](https://github.com/ropensci/webchem/issues).\n- License: MIT\n- Get citation information for `webchem` in R with `citation(\"webchem\")`\n- Please note that this package is released with a [Contributor Code of Conduct](https://ropensci.org/code-of-conduct/). By contributing to this project, you agree to abide by its terms.\n\n[![ropensci](https://ropensci.org/public_images/github_footer.png)](https://ropensci.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci%2Fwebchem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fropensci%2Fwebchem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci%2Fwebchem/lists"}