Learn R Programming

mudata2 (version 1.1.3)

distinct_params: 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, ...)

# S3 method for default distinct_params(x, table = "data", ...)

distinct_locations(x, ...)

# S3 method for default distinct_locations(x, table = "data", ...)

distinct_datasets(x, ...)

# S3 method for default distinct_datasets(x, table = "data", ...)

distinct_columns(x, ...)

# S3 method for default distinct_columns(x, table = names(x), ...)

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

Value

A character vector of distinct parameter names

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.

Examples

Run this code
distinct_params(kentvillegreenwood)
distinct_locations(kentvillegreenwood)
distinct_datasets(kentvillegreenwood)

Run the code above in your browser using DataLab