Skip to content

ropensci/webchem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2e875ec · Dec 23, 2024
Feb 16, 2024
Dec 22, 2024
Apr 3, 2020
May 24, 2020
Dec 22, 2024
Dec 21, 2024
Jun 8, 2023
Nov 2, 2022
Feb 20, 2021
Nov 2, 2022
Apr 25, 2023
Dec 21, 2024
Jan 8, 2020
Jun 2, 2023
Dec 22, 2024
Jun 4, 2023
Jun 4, 2023
Oct 26, 2022
May 4, 2020
Jun 9, 2023
Jun 9, 2023
May 8, 2020

Repository files navigation

Webchem

status CRAN R build status Coverage Downloads Total Downloads DOI

webchem is a R package to retrieve chemical information from the web. This package interacts with a suite of web APIs to retrieve chemical information.

The functions in the package that hit a specific API have a prefix and suffix separated by an underscore (prefix_suffix()). They 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.

Chemical databases currently accessed by webchem

At 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.

API keys

Some ChemSpider functions require an API key. Please register at RSC (https://developer.rsc.org/) to retrieve an API key.

Installation

Install from CRAN (stable version)

install.packages("webchem")

Install from Github (development version)

install.packages("devtools")
library("devtools")
install_github("ropensci/webchem")

Use Cases

See how webchem has been used or cited in literature here.

Citation

If you use webchem in a publication, please cite our paper:

Acknowledgements

Without 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.

Want to contribute?

Check out our contribution guide here.

Meta

ropensci