Learn R Programming

manydata (version 1.0.1)

pluck: 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)

Value

The selected dataset

Arguments

.x

The datacube

...

The name of the dataset in the datacube

.default

Value to use if target is NULL or absent.

Examples

Run this code
# \donttest{
pluck(emperors, "UNRV")
# }

Run the code above in your browser using DataLab