This repository provides materials for a session that is part of the I2DS Tools for Data Science workshop run at the Hertie School, Berlin in November 2021. The student-run workshop is part of the course Introduction to Data Science taught by Simon Munzert at the Hertie School, Berlin, in Fall 2021.
This session will introduce you to the package Plumber and its use. Plumber allows special comments (or annotations) to turn R code into API endpoints. An API (or Application Programming Interface) is a standardized way for different computers to communicate (e.g., web browsers requesting website access through API calls). Plumber reduces the handoff between work done in R and tools built using other languages and frameworks.
The goals of this session are to (1) recap the function and functioning of (web) APIs, (2) equip you with conceptual and structural knowledge about the Plumber package and pipeline, and (3) provide you with hands-on example and material as well as further references.
- Guilherme Lacerda (Hertie Connect)
- Hyebin Hong (Hertie Connect)
- Plumber official website and Cheat Sheet
- Plumber GitHub repository
- RStudio-provided package with 23 examples of APIs built with Plumber
The material in this repository is made available under the MIT and Trestle Technology, LLC licenses.
Guilherme Lacerda prepared the practice material and an example to the practice material.
Hyebin Hong prepared the lecture RMarkdown script and file as well as its recording.