distinct_params: Get distinct params, locations, and datasets from a mudata...

View source: R/mudata_helpers.R

distinct_paramsR Documentation

Get distinct params, locations, and datasets from a mudata object

Description

Get distinct params, locations, and datasets from a mudata object

Usage

distinct_params(x, ...)

## Default S3 method:
distinct_params(x, table = "data", ...)

distinct_locations(x, ...)

## Default S3 method:
distinct_locations(x, table = "data", ...)

distinct_datasets(x, ...)

## Default S3 method:
distinct_datasets(x, table = "data", ...)

distinct_columns(x, ...)

## Default S3 method:
distinct_columns(x, table = names(x), ...)

## S3 method for class 'mudata'
src_tbls(x, ...)

Arguments

x

A mudata object

...

Passed to other methods

table

The table to use to calculate the distinct values. Using the "data" table is safest, but for large datasets that are not in memory, using the meta table (params, locations, or datasets) may be useful.

Value

A character vector of distinct parameter names

Examples

distinct_params(kentvillegreenwood)
distinct_locations(kentvillegreenwood)
distinct_datasets(kentvillegreenwood)

paleolimbot/mudata documentation built on Oct. 3, 2023, 10:03 a.m.