Wrapper with explicit parameters over board_register() to register as a board a website describing resources with a data.txt file.

board_register_datatxt(url, name = NULL, headers = NULL,
  cache = board_cache_path(), ...)

Arguments

url

Path to the data.txt file or path containing it.

name

The name for this board, usually the domain name of the website.

headers

Optional list of headers to include or a function to generate them.

cache

The local folder to use as a cache, defaults to board_cache_path().

...

Additional parameters required to initialize a particular board.

See also

board_register

Examples

# register website board using datatxt file board_register_datatxt(url = "https://datatxt.org/data.txt", name = "txtexample", cache = tempfile()) # find pins pin_find(board = "txtexample")
#> # A tibble: 2 x 4 #> name description type board #> <chr> <chr> <chr> <chr> #> 1 iris This famous (Fisher's or Anderson's) iris data set give… table txtexam… #> 2 mtcars The data was extracted from the 1974 Motor Trend US mag… table txtexam…