webchem
Chemical Information from the Web. Contribute to ropensci/webchem development by creating an account on GitHub.
Adding chemical databases with one hand while public ones close programmatic access with the other.
◆Recent moves
- 1y ago
Repairs broken URLs; ChemSpider check now needs a key
Two endpoints changed underneath the package — srs_query() and the ChemSpider InChIKey check both had dead URLs — and the latter now requires an API key, extending the credential requirement to the last ChemSpider function that lacked one. pc_prop() also stops returning a bare NA for malformed queries and explains what it rejected.
View source ↗ - 3y ago
ChemIDplus and PAN queries removed as sources shut down
⚡ SPARKThe release where the package's capability surface shrinks rather than grows: two data sources are removed because the providers withdrew them. Read alongside the ChemSpider key requirement in 1.3.1, it marks the point where the direction of travel for open chemical data became visible in the changelog.
View source ↗ - 3y ago
Adds ChEMBL access for bioactive compound data
New chembl_*() functions open access to ChEMBL's manually curated database of drug-like bioactive molecules, a substantial widening toward pharmacological data. The release also adds the query delays and API key handling that ChemSpider functions had been missing.
View source ↗ - 4y ago
cir_query() returns a tibble, a breaking change
Changes cir_query() from a list to a tibble return, flagged as potentially breaking, to bring it in line with the other translator functions. Part of the long harmonisation effort that has made the package's dozen-odd service wrappers behave alike.
View source ↗ - 4y ago
Adds Mol structure export; aw_query renamed to bcpc_query
write_mol() adds structure export in Mol format, and aw_query() is renamed to bcpc_query() after the underlying Alan Wood site moved. ChemIDplus also loses name-based querying here, an early instance of the erosion that removes the function entirely two releases later.
View source ↗ - 5y ago
Fetches LIPID MAPS and SwissLipids identifiers from Wikidata
Adds two lipid database identifiers sourced through Wikidata rather than the providers directly, which is a notably more durable route than the direct integrations that keep breaking. A get_csid() fix for invalid queries ships alongside.
View source ↗