croprotationDef: Setup crop_rotations.ini for XN5, based on DEFAULT management...

Description Usage Arguments Details Value Author(s) Examples

View source: R/croprotationDef.R

Description

Setup crop_rotations.ini for XN5, based on DEFAULT management information

Usage

1
croprotationDef(x, start = "2014-08-1", end = "2019-08-1")

Arguments

x

a character vector. Characters specify varieties, which should be incorporated into the crop rotation. Varieties supported can be seen in the Details section. The character vector will be recylced, until the end date, specified by the end arguments.

start

character specifying the starting date of the crop rotation; format "yyyy-mm-dd": Has to be before the first sowing date corresponding to the first crop.

end

character specifying the end date of the crop rotation; "yyyy-mm-dd": Set after to the last harvest date of the last crop.

Details

Accepted varieties are "Kartoffel", "Wintergerste", "SilageKRG", "Winterweizen","Sommergerste", "Winterrape", "zuckerruebe1", "Ackersenf"

Value

A list with three elements vector which can be used to produce the crop_rotation.ini

start

The date of the start of the crop rotation

end

The date of the end of the crop rotation

CR

The data.frame of the crop rotation to be written to crop_rotation.ini

Author(s)

Tobias KD Weber , tobias.weber@uni-hohenheim.de

Examples

1
# example 1

tkdweber/XN5setup documentation built on July 4, 2021, 7:34 a.m.