add_sp_traits_measures: Add an observation in trait measurement table at species...

View source: R/taxa_traits_function.R

add_sp_traits_measuresR Documentation

Add an observation in trait measurement table at species level

Description

Add a trait measure in trait measurement table

Usage

add_sp_traits_measures(
  new_data,
  col_names_select = NULL,
  col_names_corresp = NULL,
  traits_field,
  collector = NULL,
  idtax = NULL,
  add_data = FALSE,
  ask_before_update = TRUE
)

Arguments

new_data

tibble

col_names_select

string vector

col_names_corresp

string vector

traits_field

string vector listing trait columns names in new_data

add_data

logical whether or not data should be added - by default FALSE

collector_field

string column name which contain the collector name

plot_name_field

string column name which contain the plot_name for linking

individual_plot_field

string column name which contain the individual tag for linking

id_plot_name

string column name which contain the ID of plot_name

id_tag_plot

string column name which contain the ID of individuals table

id_specimen

string column name which contain the ID of specimen

Value

list of tibbles that should be/have been added

Author(s)

Gilles Dauby, gilles.dauby@ird.fr


gdauby/bdd_plots_central_africa documentation built on Aug. 1, 2024, 4:33 a.m.