inst/plumber/mounts/plumber.R

library(plumber)
library(plumbertableau)

pr_bar <- pr() %>%
  pr_get("/bar", function() "bar", parser = "json")

#* @plumber
function(pr) {
  pr %>%
    pr_mount("/foo", pr_bar)
}

#* @plumber
tableau_extension

Try the plumbertableau package in your browser

Any scripts or data that you put into this service are public.

plumbertableau documentation built on Aug. 6, 2021, 9:05 a.m.