attributes: Attributes for CSV input files TripleD database

Description Usage Format Details

Description

Data frame with information on all attributes that should or could be included in the CSVs that act as input for the formation of the database.

Usage

1
2
3
4
5
6
7
8
9

Format

A dataframe with the following columns:

Attribute

The name of the attribute as it should be used as column name in the CSV.

Unit

The unit the attribute should have.

Required_or_Optional

Whether or not the attribute is required. If this is filled with 'Required_alternative' it means the information is required, but can be given in different ways.

Group

Sometimes attributes belong together, these are grouped.

Datatype

The datatype of the values (integers, fractions, doubles, strings, etc.)

Description

Perhaps the most important column. This contains an eleborate description of what the information of this attribute includes; how data should be documented.

Details

TripleD data is summarized per cruise in CSVs that can be read by the package in order to create a database. These CSVs either contain station or species data. The format of these CSVs, thus, the names of all variables and the exact meaning of the values in those columns, is explained here.
A dataframe exists for the station CSVs called 'att_stations' and for the species CSVs called 'att_species'.
It is also possible to include data to convert sizes and wet weights to ash-free dry weights. This data should be included in a file called 'bioconversion.csv'. The requirements for this file can be found in 'att_bioconversion'.
The meaning of all columns in the final two databases produced by the package can be found in 'att_database' and 'att_database_individuals'.


dswdejonge/TripleD documentation built on June 18, 2020, 12:24 p.m.