groan_id {dadjokeapi}R Documentation

Function to return a specific dad joke

Description

This function returns a specific dad joke from https://icanhazdadjoke.com using its dad joke ID.

Usage

groan_id(joke_id)

Arguments

joke_id

A specific dad joke ID to return

Value

Returns a two item list with the first item holding the joke as a character and the second item containing the joke id as a character.

Examples

groan_id("GlGBIY0wAAd")

[Package dadjokeapi version 1.0.2 Index]