pin_search: Search for pins

Description Usage Arguments Value Examples

View source: R/pin_search.R

Description

The underlying search method depends on the board, but most will search for text in the pin name and title.

Usage

1

Arguments

board

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

search

A string to search for in pin name and title. Use NULL to return all pins.

...

Additional arguments passed on to methods.

Value

A data frame that summarises the metadata for each pin. Key attributes (name, type, description, created, and file_size) are pulled out into columns; everything else can be found in the meta list-column.

Examples

1
2
3
4
5
6
7
8
9
board <- board_temp()

board %>% pin_write(1:5, "x", title = "Some numbers")
board %>% pin_write(letters[c(1, 5, 10, 15, 21)], "y", title = "My favourite letters")
board %>% pin_write(runif(20), "z", title = "Random numbers")

board %>% pin_search()
board %>% pin_search("number")
board %>% pin_search("letters")

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