pre_process_ew_input_calving: Pre-processing the calving data for input-parameter-file of...

View source: R/pre_processing.R

pre_process_ew_input_calvingR Documentation

Pre-processing the calving data for input-parameter-file of ECOWEIGHT

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) need input parameter files. This function processed different functions to prepare the input parameter files based on calving data.

Usage

pre_process_ew_input_calving(
  ps_sirebreed,
  ps_dambreed,
  ps_prodsystew,
  ps_marketchannel,
  ps_path_directory2create,
  ps_input_file_calving_statement,
  ps_input_file_calving,
  ps_start_calving_date,
  ps_end_calving_date,
  pb_log,
  plogger = NULL
)

Arguments

ps_sirebreed

sire breed

ps_dambreed

dam breed

ps_prodsystew

production system build up as option in ECOWEIGHT

ps_marketchannel

market channel

ps_path_directory2create

path of the directory that will be created

ps_input_file_calving_statement

path to file with statement based on calving for the input-parameter-file for ECOWEIGHT

ps_input_file_calving

path to file with input coming from calving for the input-parameter-file for ECOWEIGHT

ps_start_calving_date

setting the start of the calving date to filter in the calving data

ps_end_calving_date

setting the end of the calving date to filter in the calving data

pb_log

indicator whether logs should be produced

plogger

logger object


sknqualitasag/qp4ewc documentation built on Sept. 27, 2022, 3:31 p.m.