Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

check.format

Check of TA (table A, hauls data), TB (table B, catches data), and TC (table C, biological data) tables' fields format


Description

The function checks whether TA (table A, hauls data), TB (table B, catches data), and TC (table C, biological data) tables have the currect fields. Missing columns or not expected fields could generate errors in the merging functions. check.format helps to identify the presence of unexpected or missing columns generating warnings.

Usage

check.format(TA, TB, TC)

Arguments

TA

data frame of hauls data (TA, table A)

TB

data frame of the catches data (TB, table B)

TC

data frame of the biological data (TC, table C)

Value

The function returns messages of the inconsistences detected in the names and in the order of the columns of the TA (table A, hauls data), TB (table B, catches data) and TC (table C, biological data) tables. In case no message is generated by the function the format of the data frames is assumed to be currect.

Author(s)

Walter Zupa

Examples

check.format(TA, TB, TC)

MEDITS

Analysis of MEDITS-Like Survey Data

v0.1.7
GPL-3
Authors
Walter Zupa, Loredana Casciaro, Isabella Bitetto, Maria Teresa Spedicato
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.