-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
enhancementNew feature or enhancementNew feature or enhancement
Description
Thanks for an amazing package! Incredibly helpful.
I tagged this as "bug" but it might be a "Database suggestion", depends on the answer...
As example, let's take the PubChem page for aspirin (CID=2244), section "Associated Disorders and Diseases": https://pubchem.ncbi.nlm.nih.gov/compound/2244#section=Associated-Disorders-and-Diseases
Is there any way I can extract 'useful' data from this sort of sections? Namely the list of diseases here.
I tried
pc_sect(id='2244',
section='Associated Disorders and Diseases',
domain='compound')
It does run, but it returns:
# A tibble: 3 × 5
CID Name Result SourceName SourceID
<chr> <chr> <chr> <chr> <chr>
1 2244 Aspirin ctd_chemical_disease Comparative Toxicogenomics Database (CTD) D001241::Compound
2 2244 Aspirin collection=ttd_dd Therapeutic Target Database (TTD) D07DPI
3 2244 Aspirin collection=ttd_dd Therapeutic Target Database (TTD) D0GY5Z
which is not really I am interested in...
Am I missing something?
Thanks!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or enhancementNew feature or enhancement