library(knitr) library(here) knitr::opts_chunk$set(echo = TRUE)
Edgar Zamora | Twitter: @Edgar_Zamora_
include_graphics("https://images.unsplash.com/photo-1588497859490-85d1c17db96d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1050&q=80")
The superheroR
package is a R wrapper that is used to request data from the SuperHero API by specific superhero. The API provides data about a superheros stats, biography, appearances, and more from over 500 superheros from both the comic universes. The only requirement is a access token which can be obtained by linking an individuals personal Facebook account.
Sys.setenv(SUPERHERO_TOKEN = "xxxxxxxxxxxxxxx")
## install.packages(devtools) devtools::install_github("Edgar-Zamora/superheroR")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.