An R package to download chemical information by interacting with a suite of web APIs.
Questions tagged [webchem]
2 questions
20
votes
3 answers
How do I close unused connections after read_html in R
I am quite new to R and am trying to access some information on the internet, but am having problems with connections that don't seem to be closing. I would really appreciate it if someone here could give me some advice...
Originally I wanted to use…

user6469960
- 313
- 2
- 6
1
vote
1 answer
R dataframe column creation with mutate and webchem::get_cid() function based on the first column string
I'm stuck on a problem, let's say we have a 1 column dataframe dfCHEM
CHEM_NAME
Aspirin
Captopril
(...)
I want to create a second column based on the string of the first using webchem::get_cid()
CHEM_NAME CID
Aspirin 2244
Captopril …

TiFr3D
- 459
- 1
- 4
- 11