groan_image {dadjokeapi} | R Documentation |
Function to return a specific dad joke as an image
Description
This function returns a specific dad joke as a png from https://icanhazdadjoke.com using its dad joke ID.
Usage
groan_image(joke_id)
Arguments
joke_id |
A specific dad joke ID to return |
Value
Returns a png array from readPNG.
Examples
joke_png <- groan_image("GlGBIY0wAAd")
[Package dadjokeapi version 1.0.2 Index]