Learn R Programming

RBitmoji (version 0.0.2)

get_comic_id: Get comic ID from tag

Description

Use a JSON file to look up a comic ID associated with a given tag.

Usage

get_comic_id(tag, friends = FALSE)

Arguments

tag

Character string specifying the keyword tag (e.g., "birthday").

friends

Logical indicating whether or not to find a friends comic. Default is FALSE.

Examples

Run this code
# NOT RUN {
get_comic_id("birthday")
get_comic_id("birthday", friends = TRUE)
get_comic_id("edvard")  # Edvard Munch's "The Scream"
# }

Run the code above in your browser using DataLab