Learn R Programming

dadjokeapi (version 1.0.2)

groan_search: Function to search and return dad jokes with specific terms

Description

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

Usage

groan_search(term)

Arguments

term

Value

Returns a tibble of joke and joke id for jokes that contain the search term.

Examples

Run this code
# NOT RUN {
groan_search(term = "cat")
# }

Run the code above in your browser using DataLab