kamapu / vegtable

Handling vegetation-plot data sets
http://kamapu.github.io/vegtable/
7 stars 0 forks source link

Improve behaviour of function taxa2samples() #21

Closed kamapu closed 2 years ago

kamapu commented 2 years ago

Function taxa2samples() is currently altering the content of samples contained in a vegtable object, which is critical when information regarding to used synonyms needs to be retrieved. Since the alternative function merge_taxa() is even worse, it is necessary to make this function more conservative.

The solution is instead of replacing the values of TaxonUsagetID by the accepted names at samples, this function should create the new variable TaxonConceptID and rely on this in functions calling taxa2samples().

kamapu commented 2 years ago

Solved by https://github.com/kamapu/vegtable/pull/22