PietrH / vlindersRarefaction

This simple and experimental package converts a dataframe with a known format to the format the iNEXT package expects for abundance and incidence frequency data.
https://pietrh.github.io/vlindersRarefaction/
Other
0 stars 0 forks source link

Accept darwincore input instead of shape of demo csv #2

Open PietrH opened 7 months ago

PietrH commented 7 months ago

This is written as a quick draft based on a csv that was sent to me, but it would be nicer if it accepted darwincore occurrence data instead

PietrH commented 6 months ago

Alternativly, use darwinCore terms internally in the conversion functions and make an optional mapping.

If a file is provided that has the right dwc fields, no mapping is needed, if not, check if a mapping is provided (optional arguments: scientificName, organismQuantity, ...), if not, error.