ropensci / taxa

taxonomic classes for R
https://docs.ropensci.org/taxa
Other
48 stars 12 forks source link

Make sure `value` option in `obs` works with lists and vectors #50

Closed zachary-foster closed 7 years ago

zachary-foster commented 7 years ago

Currently, the value option of obs takes the name of a column in a table to extract values from for each taxon. This does not make sense for lists/vectors. I am thinking of modifying so it accepts TRUE/FALSE. Alternatively, it might work already if you use the same value as data.

zachary-foster commented 7 years ago

Actually, it does make sense for lists and vectors since any value in all_names() works with value. I just checked, and it works with both lists and vectors already.