Comments (4)
-
Feasibility. Doesn't seem like it provides an API. Don't see any info on scraping.
-
Scope. echemportal aggregates search of 30+ databases for chemical properties. However, it doesn't aggregate the results (it returns as many results as there are databases for a query of a single compound). A first "layer" of search only tells you which databases have properties for that chemical or not, a second "layer" of search allows you to specify which properties and only returns URLs to the database, not data itself.
-
Overlap. Several of the data sources are already integrated into webchem. The classification search is not currently covered by webchem (I think). It returns Globally Harmonized System of Classification and Labelling of Chemicals (GHS), for example, "flammable liquid 2".
from webchem.
Thanks @marcodilger. I looked into your code, thanks for mentioning it. Your function uses PubChem's PUG-VIEW API, which is also used by the new pc_sect()
function in webchem.
As it turns out, GHS information can be retrieved by pc_sect()
.
pc_sect(712, "GHS classification")
Searching 712. OK (HTTP 200).
# A tibble: 135 x 5
CID Name Result SourceName SourceID
<chr> <chr> <chr> <chr> <chr>
1 712 Formal… " " EU REGULATION … 605-001…
2 712 Formal… "Danger" EU REGULATION … 605-001…
3 712 Formal… "H301: Toxic if … EU REGULATION … 605-001…
4 712 Formal… "H311: Toxic in … EU REGULATION … 605-001…
5 712 Formal… "H314: Causes se… EU REGULATION … 605-001…
6 712 Formal… "H317: May cause… EU REGULATION … 605-001…
7 712 Formal… "H331: Toxic if … EU REGULATION … 605-001…
8 712 Formal… "H341: Suspected… EU REGULATION … 605-001…
9 712 Formal… "H350: May cause… EU REGULATION … 605-001…
10 712 Formal… "P201, P202, P26… EU REGULATION … 605-001…
# … with 125 more rows
I guess this was a quick win:) I am sorry @marcodilger that we couldn't add your function this time, but let us know if you are working on a new project and we can work on it together!
from webchem.
I think GHS would be extremely valuable for webchem. However, if eChemPortal does not aggregate but only provides a set of links, wouldn't it be better to consider the original sources instead?
from webchem.
regarding GHS: I put something together once and planned to contribute it one day. pc_ghs() gets GHS data from pubchem and returns a list of lists master...marcodilger:pubchem-ghs)
It worked to the point that I could use it for a project, but it is very messy (including code where i'm trying things out and comments in german to myself ;) and not near a possible PR.
from webchem.
Related Issues (20)
- Fix pkgdown config for reference HOT 3
- RI Extraction issue HOT 3
- Release webchem 1.2.0
- Common Chemistry CAS API
- Any way to search by Mass? HOT 4
- extract PubChem section's content HOT 2
- improve reliability of `with_cts()` HOT 2
- Use `httptest` for API mocking HOT 7
- error with etox_basic() HOT 1
- ChemIDplus has been retired HOT 4
- nist_ri() fails HOT 5
- Release webchem 1.3.0 HOT 1
- `pan_query()` still broken. Should it be made defunct for v 1.3.0? HOT 5
- is.na > 1 error HOT 5
- Character CID that can't be coerced to numeric in `pc_prop()` results in `NA` output for all CIDs HOT 13
- cir_query doesn't return SMILES string even though it exists in PubChem HOT 2
- Improve input validation HOT 1
- Add vignettes (back?) to pkgdown website HOT 2
- pc_sect and section EPA-IRIS-Informtion HOT 2
- Get_cid pulls many CIDs, some wrong HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webchem.