A Comprehensive Collection of Agricultural and Agronomic Datasets

Offers a rich and diverse collection of datasets focused on agriculture, agronomy, animal science, and related fields. The package includes experimental, observational, and field-trial data on crops such as rice, wheat, corn, soybean, cotton, coffee, avocado, and orange, as well as forestry species including bamboo, eucalyptus, and timber. Datasets cover plant breeding and genetics, factorial and randomized block experiments, herbicide and insecticide efficacy trials, pest and disease infestation, soil characteristics and land suitability, plant growth regulators, seed germination, and crop yield modeling. Additional datasets address animal science topics such as cattle insemination and conception, pig and broiler growth, lamb births, and toxicology studies on aquatic and non-target species. Data sources include peer-reviewed agronomic studies, uniformity and Latin square field trials, glasshouse experiments, and international agricultural surveys. Designed for agronomists, researchers, plant and animal scientists, data scientists, and students, this package facilitates exploratory data analysis, statistical modeling, and hypothesis testing in agricultural and biological sciences. The package includes datasets originally distributed in other R packages. The original authors and contributors associated with these source packages and datasets are acknowledged in Authors@R, and the original sources and applicable licensing terms are documented in LICENSES_DETAILS.md.


agridatasets

CRAN status License: GPL (>= 2) | GPL-3

The agridatasets package offers a rich and diverse collection of datasets focused on agriculture, agronomy, horticulture, animal husbandry, forestry, plant pathology, entomology, soil science, and food production. It includes comprehensive data on topics such as crop yields, plant growth and genetics, seed germination, disease and pest infestation, herbicide and insecticide trials, fungicide efficacy, soil suitability and classification, animal weight gain and survival, poultry and livestock production, coffee and wine composition, and market/production statistics.

The package contains a wide variety of data types, including experimental field trials, uniformity trials, split-plot and split-split-plot designs, Latin square designs, randomized complete block designs, dose-response bioassays, survival data, and observational/market data. These datasets encompass crop and orchard yields (apple, grape, peach, tomato, strawberry, cotton, wheat, corn, rice, soybean, turnip), plant growth regulators and hormones, herbicide and pesticide efficacy trials, insect and fungal infestation studies, animal growth and reproduction data (cattle, pigs, sheep, poultry, ducks, guinea pigs, fish, bees), soil taxonomy and land-suitability classifications (Munsell color, coffee-growing suitability), and coffee and wine chemical composition data.

Installation

You can install the agridatasets package from CRAN with the following R function:

install.packages("agridatasets")

You can install the agridatasets package from its GitHub repository with the following R function:

devtools::install_github("lightbluetitan/agridatasets")

Load the Package

library(agridatasets)

Example Datasets

Below are selected example datasets included in the agridatasets package:

  • bamboo_growth: Bamboo shoot growth measurements across compartments and transects.
  • rice_wheat_production: Historical rice and wheat area, production, and yield statistics.
  • wheat_splitsplit: Split-split-plot wheat trial with inoculation, genotype, moisture, and seed-treatment factors.
  • cattle_butterfat: Butterfat content in cattle by breed and age.
  • soil_munsell_colors: Munsell soil color notations and their traditional descriptive names.
  • avocado_us_sale: U.S. avocado sales and pricing data by week and type.

Example Code

# Load the package
library(agridatasets)

# List all datasets in the package
view_datasets_agridatasets()

# Load dataset
data(wheat_splitsplit)

# Preview the dataset
head(wheat_splitsplit)

# Open in Viewer
View(wheat_splitsplit)

License

All datasets in this package are provided under their respective original licenses, as documented in LICENSES_DETAILS.md. Users must comply with the licensing terms specified by each original source.

This package, agridatasets, is licensed under the GPL (>= 2) | GPL-3 license.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("agridatasets")

0.1.1 by Renzo Caceres Rossi, 2 months ago


https://github.com/lightbluetitan/agridatasets, https://lightbluetitan.github.io/agridatasets/


Report a bug at https://github.com/lightbluetitan/agridatasets/issues


Browse source code at https://github.com/cran/agridatasets


Authors: Renzo Caceres Rossi [aut, cre] (ORCID: , Prabhanjan Tattar [ctb] (Author and maintainer of the original gpk package; original datasets included in agridatasets.) , A.P. Gore [ctb] (Original contributor associated with datasets included in the gpk package.) , S.A. Paranjape [ctb] (Original contributor associated with datasets included in the gpk package.) , M.B. Kulkarni [ctb] (Original contributor associated with datasets included in the gpk package.) , Gabriel Danilo Shimizu [ctb] (ORCID: , Author and maintainer of the original AgroR package; original datasets included in agridatasets.) , Rodrigo Yudi Palhaci Marubayashi [ctb] (ORCID: , Author and contributor of the original AgroR package; original datasets included in agridatasets.) , Leandro Simoes Azeredo Goncalves [ctb] (ORCID: , Author and contributor of the original AgroR package; original datasets included in agridatasets.) , Al-Ahmadgaid B. Asaad [ctb] (ORCID: , Author and maintainer of the original ALUES package; original datasets included in agridatasets.) , Arnold R. Salvacion [ctb] (ORCID: , Author of the original ALUES package; original datasets included in agridatasets.) , Bui Tan Yen [ctb] (Author of the original ALUES package; original datasets included in agridatasets.) , Daniel Gerhard [ctb] (Author and maintainer of the original mcprofile package; original dataset included in agridatasets.) , Yves Croissant [ctb] (Author of the original plm package; original dataset included in agridatasets.) , Giovanni Millo [ctb] (Author of the original plm package; original dataset included in agridatasets.) , Kevin Tappe [ctb] (Author and maintainer of the original plm package; original dataset included in agridatasets.) , Ott Toomet [ctb] (Contributor to the original plm package.) , Christian Kleiber [ctb] (Contributor to the original plm package.) , Achim Zeileis [ctb] (Contributor to the original plm package.) , Arne Henningsen [ctb] (Contributor to the original plm package.) , Liviu Andronic [ctb] (Contributor to the original plm package.) , Nina Schoenfelder [ctb] (Contributor to the original plm package.) , Dylan Beaudette [ctb] , Author and maintainer of the original aqp package; original datasets included in agridatasets.) , Pierre Roudier [ctb] (Author and contributor of the original aqp package; original datasets included in agridatasets.) , Andrew Brown [ctb] (Author and contributor of the original aqp package; original datasets included in agridatasets.) , Stephen Roecker [ctb] (Author and contributor of the original aqp package; original datasets included in agridatasets.) , David Rossiter [ctb] (Contributor to the original aqp package.) , Mateusz Staniak [ctb] (Author and maintainer of the original live package; original dataset included in agridatasets.) , Przemyslaw Biecek [ctb] (Author of the original live package; original dataset included in agridatasets.) , Emi Tanaka [ctb] , Author and maintainer of the original smbdata package; original datasets included in agridatasets.) , Sue Welham [ctb, cph] (Contributor and copyright holder associated with the original smbdata package.) , Salvador Gezan [ctb] (Contributor to the original smbdata package.) , Suzanne Clark [ctb] (Contributor to the original smbdata package.) , Andrew Mead [ctb] (Contributor to the original smbdata package.) , Angelo Canty [ctb] (Author of original code for S and author of the original boot package material.) , Brian Ripley [ctb] (Author and translator associated with the original boot package; conversion to R and parallel support.) , Alessandra R. Brazzale [ctb] (Contributor and maintainer of the original boot package.) , Mark Clements [ctb] , Author and maintainer of the original collett package; original dataset included in agridatasets.) , Enoch Yi-Tung Chen [ctb] (ORCID: , Contributor to the original collett package.) , Kevin Wright [ctb, cph] (ORCID: , Author , maintainer and copyright holder of the original agridat package; original datasets included in agridatasets.) , Christian Salas-Eljatib [ctb] (ORCID: , Author and maintainer of the original biometrics package; original datasets included in agridatasets.) , Nicolas Campos [ctb] , Contributor to the original biometrics package.) , Marcos Marivil [ctb] (Contributor to the original biometrics package.) , F.L. Ramsey [ctb] (Original author of datasets in the Sleuth3 package.) , D.W. Schafer [ctb] (Original author of datasets in the Sleuth3 package.) , Daniel W. Schafer [ctb] (Contributor/modifier of the original Sleuth3 package.) , Jeannie Sifneos [ctb] (Contributor/modifier of the original Sleuth3 package.) , Berwin A. Turlach [ctb] (Contributor , maintainer and modifier of the original Sleuth3 package.) , Nicholas Horton [ctb] (Vignette contributor to the original Sleuth3 package.) , Linda Loi [ctb] (Vignette contributor to the original Sleuth3 package.) , Kate Aloisio [ctb] (Vignette contributor to the original Sleuth3 package.) , Ruobing Zhang [ctb] (Vignette contributor to the original Sleuth3 package.) , Randall Pruim [ctb] (Contributor providing corrections to the original Sleuth3 package.) , Sébastien Lê [ctb] , Author and maintainer of the original EnTraineR package; original datasets included in agridatasets.) , Wang Kunguang [ctb] , Author and maintainer of the original easynem package; original dataset included in agridatasets.) , Nikhil Agarwal [ctb] , Author and maintainer of the original avocado package; original dataset included in agridatasets.) , Peter K. Dunn [ctb] (Author and maintainer of the original GLMsData package; original datasets included in agridatasets.) , Gordon K. Smyth [ctb] (Author of the original GLMsData package; original datasets included in agridatasets.) , Roger Bivand [ctb] , Author of the original spData package.) , Jakub Nowosad [ctb] , Author and maintainer of the original spData package.) , Robin Lovelace [ctb] , Author of the original spData package.) , Angelos Mimis [ctb] (Contributor to the original spData package.) , Mark Monmonier [ctb] (Contributor and author of the state.vbm dataset in spData.) , Greg Snow [ctb] (Contributor and author of the state.vbm dataset in spData.) , Keefe Murphy [ctb] , Author and maintainer of the original IMIFA package; original dataset included in agridatasets.) , Cinzia Viroli [ctb] , Contributor to the original IMIFA package.) , Isobel Claire Gormley [ctb] (ORCID: , Contributor to the original IMIFA package.)


Documentation:   PDF Manual  


GPL (>= 2) | GPL-3 license


Imports utils

Suggests ggplot2, testthat, dplyr, knitr, rmarkdown


See at CRAN