read_file_input_calving: Read file with input about calving for input-parameter-file...

View source: R/input.R

read_file_input_calvingR Documentation

Read file with input about calving 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 will read a file with value coming from calving. In this calving file some information about abortion rate, stillbirth rate, calving score, amount of calves died within 48 hours after birth.

Usage

read_file_input_calving(
  ps_input_file_calving,
  ps_start_calving_date,
  ps_end_calving_date,
  pb_log = FALSE,
  plogger = NULL
)

Arguments

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

Value

tibble with the content of the calving file


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