All of Your Chuck Norris Needs

Utility functions for the lovely 'ICNDB' API, <>, which allows users to retrieve Chuck Norris jokes either randomly or by joke number.

If you ever wanted random Chuck Norris jokes on-demand, this is the package for you.

How To Install

You can now install via CRAN with install.packages("norris")!

Otherwise, for dev version - install devtools and then use install_github pointing to this repo. See below:


How To Use

Get a random Chuck Norris joke with get_random_joke(), or get multiple random jokes with get_multiple_randos().

For get_multiple_randos() - input the number of jokes you want, if you want!

Otherwise, use get_numbered_joke() with a joke number (somewhere between 1 and 558) to get a specific joke.

Utility functions get_joke_count() and get_joke_categories() are pretty pointless currently.

Special Notes

For get_numbered_joke(), there are a few jokes missing (7 through 11). Maybe Chuck Norris roundhouse kicked them out of the database..


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.1 by Chris Cardillo, 3 months ago

Browse source code at

Authors: Chris Cardillo [aut, cre]

Documentation:   PDF Manual  

MIT + file LICENSE license

Depends on httr, jsonlite, stringr, dplyr

See at CRAN