The legacy pins API uses a board registry, where you first register a board then refer to it by name in calls to pin functions.
board_register(board, name = NULL, cache = NULL, versions = NULL, ...) board_register_rsconnect( name = "rsconnect", server = NULL, account = NULL, key = NULL, output_files = FALSE, cache = NULL, ... ) board_deregister(name, ...) board_default() board_list() board_get(name)
# legacy API board_register_local("myboard", cache = tempfile()) pin(mtcars, board = "myboard") pin_get("mtcars", board = "myboard") # modern API (not available for all boards) board <- board_temp() board %>% pin_write(mtcars) board %>% pin_read("mtcars")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.