Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 832 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 832 Bytes

demo-plumber-penguins

A demo of how to use Plumber to create APIs on RStudio Connect.

https://colorado.rstudio.com/rsc/palmerspenguins/

screenshot

Usage

curl -X GET "https://colorado.rstudio.com/rsc/palmerspenguins/penguins?sample_size=5"

Deployment

Git-backed

After making any code changes run the following:

rsconnect::writeManifest("app")

RStudio Connect will then automatically redeploy the app.

Programatic

You can also deploy the app using the rsconnect api:

rsconnect::deployAPI(
  api = "app",
  appFiles = c("plumber.R"),
  appTitle = "Shiny Penguins Plumber"
)