knitr::opts_chunk$set(echo = TRUE)

There are two categories of datasets available in ALUES, land units and crop requirements.

Input Land Units

The land units datasets are input land units with properties meant for evaluation for crop production. Two regions are available for these datasets: Marinduque, Philippines; and, Lao Cai, Vietnam. These datasets are encoded into three characteristics: i. land or soil and terrain (LT); ii. water; and, iii. temp (for temperature). So that, for Marinduque, the following are the datasets:

For Lao Cai, Vietnam, the following are the datasets:

Sample head of the datasets are as follows:

library(ALUES)
head(MarinduqueLT)
head(LaoCaiLT)

The columns of the datasets correspond to the factors or parameters measured from the land units. These parameters are used to compare to the standard values required for the target crop. The score of the comparison is referred to as the suitability score.

Crop Requirements

There are 56 crops available in ALUES, each encodes standard properties of the target crop. These crop datasets are further categorized into four characteristics: terrain, soil, water and temp. So that, for avocado, the datasets are encoded as AVOCADOTerrain, AVOCADOSoil, AVOCADOWater and AVOCADOTemp. The list of crop datasets can be extracted as follows:

d <- utils::data(package = "ALUES")
alues_data <- d$results[, "Item"]
crop_data <- regmatches(alues_data, gregexpr(paste0("^[A-Z]{2,}", collapse = "|"), alues_data))
crop_data <- unique(unlist(lapply(crop_data, function(x) substr(x, 1, nchar(x)-1))))
crop_data

Sample crop requirement datasets are given below:

GUAVASoil
GUAVATemp
CINNAMONTerrain
CINNAMONWater

For details on each of the datasets, simply access the documentation via the ? prefix.



alstat/ALUES documentation built on June 17, 2022, 10:42 p.m.