Type: Package
Title: Get XKCD Comic Data
Version: 0.1.0
Description: Download data from individual XKCD comics, written by Randall Munroe https://xkcd.com/.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.0.1
Imports: httr(≥ 1.3.1), magrittr (≥ 1.5), tibble (≥ 1.3.4), dplyr (≥ 0.7.4), jsonlite (≥ 1.5), glue (≥ 1.1.1), htmltools (≥ 0.3.6), assertthat (≥ 0.2.0)
Suggests: testthat
NeedsCompilation: no
Packaged: 2017-10-10 20:46:25 UTC; robert
Author: Robert Myles McDonnell [aut, cre], Colin Fay [ctb], Randall Munroe [cph]
Maintainer: Robert Myles McDonnell <robertmylesmcdonnell@gmail.com>
Repository: CRAN
Date/Publication: 2017-10-11 12:07:59 UTC

Pipe operator

Description

Pipe operator

Usage

lhs %>% rhs

Get XKCD Comic Data

Description

Download data from individual XKCD comics from <https://xkcd.com/>.

Usage

get_comic(comic = NULL)

Arguments

comic

integer. Comic number.

Value

a tibble with comic data

Examples

## Not run: get_comic(comic = 614)

Description

Print an XKCD comic in your default Viewer

Usage

print_xkcd(comic)

Arguments

comic

integer. Comic number.

Value

the xkcd comic in your default Viewer

Examples

## Not run: print_xkcd(comic = 12)