Add organic amendment (EOM) applications to a rotation calendar
expand_eom_calendar.RdMarks the month(s) of each external organic matter (EOM; manure, slurry, compost...) application on a monthly calendar, matched to the crop that is active (or about to be sown, at harvest) in the application month, one match per rotation cycle.
Usage
expand_eom_calendar(
rotation_calendar,
df,
eom_id_var = "eom.id.be.socmo",
eom_date_var = "eom.date",
eom_q_var = "eom.q"
)Arguments
- rotation_calendar
Monthly calendar, typically the output of
expand_rotation_calendar()(optionally already passed throughexpand_cover_crop(),expand_irrigation_calendar(),expand_tillage_calendar()).- df
Rotation data frame, one row per planned EOM application, with the columns referenced by
eom_id_var/eom_date_var/eom_q_varpluscrop.id.be.socmo.- eom_id_var
Name of the column in
dfholding the EOM product ID.- eom_date_var
Name of the column in
dfholding the application date (format"MM-DD", only the month is used).- eom_q_var
Name of the column in
dfholding the applied quantity.