Parse options specifying datasets in taxmap objects
parse_dataset(obj, data, must_be_valid = TRUE, needed = TRUE,
rm_na = TRUE)
The taxmap object.
The name/index of datasets in a taxmap object to use. Can also be a logical vector of length equal to the number of datasets.
If TRUE, all datasets specified must be valid or an error occurs.
If TRUE, at least one dataset must be specified or an error occurs.
If TRUE, then invalid datasets do result in NAs in the output.
The indexes for the datasets selected