find_unique_values: Finding Unique Values

View source: R/ExtractNewValues.R

find_unique_valuesR Documentation

Finding Unique Values

Description

A function to find the unique values for all of a given tibble.

Usage

find_unique_values(data)

Arguments

data

A tibble for which we hope to find all of the unique values

Details

Rpackage file: ExtractNewValues.R

Value

A list of the unique values, NAs excluded

Examples

data <- tibble::tibble(
  crop_name_1 = c("maize", "cassava", "millet"),
  crop_name_2 = c("potato", NA, "cucumber")
)
# Expect the result c("maize", "cassava", "millet","potato", "cucumber")

l-gorman/rhomis-R-package documentation built on Nov. 8, 2023, 6:46 a.m.