pin_meta: Retrieve metadata for a pin

Description Usage Arguments Value Examples

View source: R/pin-meta.R

Description

Pin metadata comes from three sources:

Usage

1

Arguments

board

A pin board, created by board_folder(), board_rsconnect(), board_url() or other other board_ function.

name

Pin name.

version

Retrieve a specific version of a pin. Use pin_versions() to find out which versions are available and when they were created.

...

Additional arguments passed on to methods for a specific board.

Value

A list.

Examples

1
2
3
4
5
6
7
8
9
b <- board_temp()
b %>% pin_write(head(mtcars), "mtcars", metadata = list("Hadley" = TRUE))

# Get the pin
b %>% pin_read("mtcars")
# Get its metadata
b %>% pin_meta("mtcars")
# Get path to underlying data
b %>% pin_download("mtcars")

pins documentation built on Oct. 2, 2021, 5:06 p.m.