tdfGetTmmPerMonth: Extend transferred daily milk with cow index

Usage Arguments

View source: R/data_prepare.R

Usage

1
tdfGetTmmPerMonth(pdfResult, psMonth)

Arguments

pdfResult

original data.frame containing all data transferred from database

psMonth

Month (formatted as

tdfTmmPerMonth tbl_df containing resulting milk records from month psMonth Daily milk yield is transferred from the database as a dataframe. The data frame has basically daily milk yields (TMM) for each cows over a period of months. The result of the function tdfGetTmmPerMonth is a tbl_dfdplyr of all milk records for the given month psMonth for all cows. The resulting tbl_df has an additional column with the name ATMM_KUH_IDX. This column has indices that represent the identities of the cow. This index is only used for plotting to have more readable axis labels.


pvrqualitasag/AtdaAsrProjectTestFinalDocu documentation built on May 26, 2019, 11:34 a.m.