Skip to contents

This function filters the biodiversity data based on a search value in a specified column, then extracts unique values from another selected column.

Usage

DistinctChoices(filteredNameID, searchColumnName, selectedColumnName)

Arguments

filteredNameID

Character. The value to filter by in the search column.

searchColumnName

Character. The name of the column to search for the filteredNameID value.

selectedColumnName

Character. The name of the column from which to extract unique values.

Value

A character vector of unique values from the selected column.