I'm trying to insert hockey pucks into my ggplot
. On font awesome, I found a hockey puck icon. I was hoping that ggimage::geom_icon
could import font awesome icons, but unfortunately it doesn't:
library(ggimage)
set.seed(2017-02-21)
d <- data.frame(x = rnorm(10),
y = rnorm(10),
icon = "hockey-puck")
ggplot(d, aes(x,y)) + geom_icon(aes(image=icon))
Error in download_url(path) :
Failed to download https://raw.githubusercontent.com/ionic-team/ionicons/master/src/svg/hockey-puck.svg (HTTP 404)
Does anyone know where to find icons. I know there is this online vignette, but it doesn't specify where ios-power', 'ios-wifi', 'ios-pie'
come from.