FRBCesab / funbiogeo

:package: R package to help with analyses in functional biogeography
https://frbcesab.github.io/funbiogeo/
GNU General Public License v2.0
10 stars 1 forks source link

Standardized name of columns #107

Open Rekyt opened 7 months ago

Rekyt commented 7 months ago

funbiogeo tries to minimize the assumptions made about the used dataset.

However, one strong assumption made by funbiogeo is the column names of objects. For example, species-traits matrix have to contain the "species" column https://github.com/FRBCesab/funbiogeo/blob/497d97a96b24dce6cec6325095d46e96f4876211/R/checks.R#L115-L118

This is useful to simplify the code afterwards, but should we change this behavior by asking for an additional argument regarding the name of the column "species"?

Also, having other names should emphasize that our functions are applicable on other entities than species

Otherwise, we have to make positional assumptions on the columns, but it sounds somewhat risky as well.