Questions tagged [webchem]

An R package to download chemical information by interacting with a suite of web APIs.

2 questions
18
votes
2 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
  • 193
  • 1
  • 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
  • 329
  • 2
  • 8