| checkBD | R Documentation |
This function will do a series of checks on the latest TRES DB (adults, chicks and broods) and returns a list with the results.
checkBD(dsn = ".", year, adultsNew = NULL, broodsNew = NULL, chicksNew = NULL, adultsOld = "Adultes_2004-2015.xlsx", broodsOld = "Couvee_2004-2015.xlsx", chicksOld = "Oisillons_2004-2015.xls", sheet = 1, stop = FALSE)
dsn |
Path to the location of the different databases |
year |
Year in which verfications are made |
adultsNew |
Excel file with the latest data |
broodsNew |
Excel file with the latest data |
chicksNew |
Excel file with the latest data |
adultsOld |
Excel file with the previous data |
broodsOld |
Excel file with the previous data |
chicksOld |
Excel file with the previous data |
sheet |
All data should be contained in the first sheet. The first sheet is read by default |
stop |
Logical. Whether the function should stop for some checks to prevent spurious further problems. Currently not ignored |
Returns a list with the different checks and problem lines. Elements in the list can be vectors, lists, data.frames, etc.
Returns a list of class TREScheck.
Francois Rousseu, Nghia Tran and Audrey Bourret
checkShow, print.TREScheck
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.