This project wraps the Earthchem web services to provide easy access to geochemical data from IEDA in ready-to-use format in your favourite PyData environment.
Maintainer: Jess Robertson (jesse.robertson at csiro.au)
Service | master | develop |
---|---|---|
Test status | ||
Test coverage |
Say you wanted to know how many samples have been submitted to IEDA by your colleague named Dr Barnes:
>>> from earthchem.query import RESTClientQuery
>>> q = RESTClientQuery(author='barnes')
>>> q.count()
4902
That's a lot of samples. Can we see the compositions of the first 50 say?
>>> df = q.dataframe()
>>> df.head()
Great, so now I can make some little plots right?
>>> df.plot('al2o3', 'sio2', 'scatter')
Provided you have python installed, this library is just a pip install earthchem
away.
If you don't have Python we recommend taking a look at the marvellous Anaconda distribution - just pick your relevant platform download from here.