pin_get: Retrieve a pin (legacy API)

View source: R/pin_get.R

pin_getR Documentation

Retrieve a pin (legacy API)

Description

[Deprecated]

Usage

pin_get(
  name,
  board = NULL,
  cache = TRUE,
  extract = NULL,
  version = NULL,
  files = FALSE,
  signature = NULL,
  ...
)

Arguments

name

The name of the pin.

board

The board where this pin will be retrieved from.

cache

Should the pin cache be used? Defaults to TRUE.

extract

Should compressed files be extracted? Each board defines the default behavior.

version

The version of the dataset to retrieve, defaults to latest one.

files

Should only the file names be returned?

signature

Optional signature to validate this pin, use pin_info() to compute signature.

...

Additional parameters.

Details

Retrieves a pin by name from the local or given board.

pin_get() retrieves a pin by name and, by default, from the local board. You can use the board parameter to specify which board to retrieve a pin from. If a board is not specified, it will use pin_find() to find the pin across all boards and retrieve the one that matches by name.

Examples


# define temporary board
board <- legacy_temp()
pin(mtcars, board = board)

# retrieve the mtcars pin
pin_get("mtcars", board = board)


pins documentation built on Oct. 7, 2024, 5:07 p.m.