All of the example data in ex_taxmap currently has a 1:1 relationship with taxa (info does not have values for all taxa). A lot of data in the real world will have multiple observations per taxon. The functions are designed for this, but it has not been tested much.
[x] add dataset to ex_taxmap with multiple observations per taxon.
[x] add tests that use the new dataset for major functions
[ ] check that validate_taxmap_data() can understand groups of rows for each taxon. The column with the grouping factor should have consecutive value for each taxon, but the "ids" at this point do not need to match the ids ultimately assigned by the function. This might warrant its own issue..
All of the example data in
ex_taxmap
currently has a 1:1 relationship with taxa (info
does not have values for all taxa). A lot of data in the real world will have multiple observations per taxon. The functions are designed for this, but it has not been tested much.ex_taxmap
with multiple observations per taxon.validate_taxmap_data()
can understand groups of rows for each taxon. The column with the grouping factor should have consecutive value for each taxon, but the "ids" at this point do not need to match the ids ultimately assigned by the function. This might warrant its own issue..