pluck: Selects a single dataset from a datacube

View source: R/consolidate.R

pluckR Documentation

Selects a single dataset from a datacube

Description

This function is reexported/wrapped from the {purrr} package. It allows users to select a single dataset from one of the datacubes available across the 'many* packages'. It additionally invites users to cite the selected dataset.

Usage

pluck(.x, ..., .default = NULL)

Arguments

.x

The datacube

...

The name of the dataset in the datacube

.default

Value to use if target is NULL or absent.

Value

The selected dataset

Examples


pluck(emperors, "UNRV")


manydata documentation built on April 4, 2025, 5:25 a.m.