turba-data
Dataset package for site-specific NPK fertilizer recommendations in Morocco.
turba-data is the data package of the turba ecosystem. It provides a simple way to discover the datasets currently available and load them directly into Python. Future work will expand the catalog with additional datasets covering more crops, sources, and regions, add more notebooks for analysis and comparison, and introduce hosted remote downloads as the collection grows.
Install
pip install turba-data
This also pulls:
pandaspyarrow
Quick start
import turba_data as td
print(td.list_datasets())
df = td.load_dataset("esa_worldcereal_morocco_cereals_medium")
print(df.head())
Users can convert parquet to CSV themselves after loading:
import turba_data as td
df = td.load_dataset("esa_worldcereal_morocco_cereals_medium")
df.to_csv("esa_worldcereal_morocco_cereals_medium.csv", index=False)
First release dataset
Current snapshot for the first packaged dataset:
- dataset id:
esa_worldcereal_morocco_cereals_medium - file:
esa_worldcereal_morocco_cereals_medium.parquet - rows: 132,017
- columns: 22
- unique sites: 44,096
- regions: 10
- provinces: 66
- communes: 1,149
Repository structure
turba-data/
├── src/
│ └── turba_data/
│ ├── __init__.py
│ ├── core.py
│ ├── registry.json
│ └── datasets/
│ └── esa_worldcereal_morocco_cereals_medium.parquet
├── tests/
│ └── test_api.py
├── LICENSE
├── pyproject.toml
└── README.md
Metadata
Release files for turba-data 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| turba_data-0.1.0.tar.gz | 1.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| turba_data-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.2 MB
Release files / turba_data-0.1.0.tar.gz
| Download URL | turba_data-0.1.0.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64fe150fc471dbb60227f98fbf1a346dc693155e9ef353b434f8f50b63d81990
|
|
BLAKE2b-256 checksum How to use checksums |
1cee90b1d3df420559c21ceb81680051c6d09b96380d0d9ce08c61b228f063ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / turba_data-0.1.0-py3-none-any.whl
| Download URL | turba_data-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b30efa008a888ac178ebd017b007b2bc9d47317fa12e7c2e593ac134efb3f9d4
|
|
BLAKE2b-256 checksum How to use checksums |
c4abbd924f7237e476ac89eec9e47af12d9b8c52ed5a4b374bd9cad3f77f5b65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|