Skip to content

Search for pins in legacy boards.

Usage

pin_find(
  text = NULL,
  board = NULL,
  name = NULL,
  extended = FALSE,
  metadata = FALSE,
  ...
)

Arguments

text

The text to find in the pin description or name.

board

The board name used to find the pin.

name

The exact name of the pin to match when searching.

extended

Should additional board-specific columns be shown?

metadata

Include pin metadata in results?

...

Additional parameters.

Examples

pin_find("cars")
#>           name
#> mtcars  mtcars
#> mtcars1 mtcars
#> 2       mtcars
#>                                                                                                                                                                                   description
#> mtcars                                                                                                                                                                                       
#> mtcars1                                                                                                                                                                                      
#> 2       The data was extracted from the 1974 Motor Trend US magazine, and comprises fuel consumption and 10 aspects of automobile design and performance for 32 automobiles (1973–74 models).
#>          type      board
#> mtcars  table      local
#> mtcars1 table    myboard
#> 2       table txtexample
# ->
board <- board_local()
board %>% pin_search("cars")
#> # A tibble: 1 × 6
#>   name   type  title              created             file_size meta      
#>   <chr>  <chr> <chr>              <dttm>              <fs::byt> <list>    
#> 1 mtcars rds   mtcars: a pinned … 2023-11-09 17:55:18     1.19K <pins_met>