Skip to main content

Data package for the fertimap ecosystem.

Project description

fertimap-data

Dataset package for site-specific NPK fertilizer recommendations in Morocco.

PyPI DOI Socket Downloads License: MIT

fertimap-data is the data package of the fertimap 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 fertimap-data

This also pulls:

  • fertimap
  • pandas
  • pyarrow

Quick start

import fertimap_data as ftd

print(ftd.list_datasets())

df = ftd.load_dataset("esa_worldcereal_morocco_cereals_medium")
print(df.head())

Users can convert parquet to CSV themselves after loading:

import fertimap_data as ftd

df = ftd.load_dataset("esa_worldcereal_morocco_cereals_medium")
df.to_csv("fertimap_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: fertimap_esa_worldcereal_morocco_cereals_medium.parquet
  • rows: 132,017
  • columns: 22
  • unique sites: 44,096
  • regions: 10
  • provinces: 66
  • communes: 1,149

Repository structure

fertimap-data/
├── src/
│   └── fertimap_data/
│       ├── __init__.py
│       ├── core.py
│       ├── registry.json
│       └── datasets/
│           └── fertimap_esa_worldcereal_morocco_cereals_medium.parquet
├── tests/
│   └── test_api.py
├── LICENSE
├── pyproject.toml
└── README.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fertimap_data-0.1.1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fertimap_data-0.1.1-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file fertimap_data-0.1.1.tar.gz.

File metadata

  • Download URL: fertimap_data-0.1.1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for fertimap_data-0.1.1.tar.gz
Algorithm Hash digest
SHA256 88ab5af182e9ea030d76aa1bd67bb2f5297e2808ee28fcf46d3c17d6d04e1673
MD5 d703988ae9f398056134af15d63b3197
BLAKE2b-256 53e753764d857c8ce957d478025ffcd0941e05ed667f52de170f3bc159922c11

See more details on using hashes here.

File details

Details for the file fertimap_data-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fertimap_data-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for fertimap_data-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bde63b12e2085c3aee90bbbb4d8795e7855fc5ac76ab682a47e2cf14e4b9f23b
MD5 52f378ee053be31dd8c7d2b30fd87d12
BLAKE2b-256 e9ecc2d5f0e33e1c6e786a395b6c6f2c6f17371a278546bf4fb689b64edd0761

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page