Skip to content

Latest commit

 

History

History

plumber-penguins

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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"
)