getPlayers <- function(){
library(jsonlite)
players <- fromJSON("http://foosball-results.herokuapp.com/api/players", flatten = TRUE)
players <- data.frame(Id = players$`_id`)
return(players)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.