pin_get {pins} | R Documentation |
Retrieve a pin (legacy API)
Description
Retrieves a pin by name from the local or given board.
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 |
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 |
... |
Additional parameters. |
Details
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)
[Package pins version 1.3.0 Index]