Skip to content

Get_cid pulls many CIDs, some wrong #417

@daithi45

Description

@daithi45

Hi all, I'm running a dataset of ~1000 CAS#s through webchem to pull CIDs.
For about half of them, it pulls multiple CIDs.

get_cid("613-33-2", from="cas", match = "all")
# A tibble: 2 × 2
  query    cid   
  <chr>    <chr> 
1 613-33-2 11941 
2 613-33-2 170889

Most of the time, the first CID it pulls isn't the correct one and requires manual checking. Is there any way to improve my approach to reduce the manual element?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions