AgriDatasets.jl
We are excited to announce the official release of AgriDatasets.jl, a Julia package providing easy access to open agricultural datasets for data analysis, research, and machine learning.
Features
-
Easy access to curated agricultural datasets.
-
Fast integration with Julia’s data ecosystem (
DataFrames.jl,CSV.jl). -
Built-in helper functions to explore and load datasets in seconds.
Installation
To install AgriDatasets.jl, run the following in the Julia REPL or Google Colab:
using Pkg
Pkg.add("AgriDatasets")
Main Functions & Examples
1. List Available Datasets
To view all available datasets in the package:
using AgriDatasets
# List all dataset names
list_datasets()
2. Load a Dataset
Load any dataset directly into a DataFrame:
# Load a specific agricultural dataset
df = get_dataset("crops_yield")
first(df, 5)
3. Get Dataset Metadata & Information
Inspect details and column descriptions of a dataset:
# View information and metadata
dataset_info("crops_yield")