knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(punkapi)

Return one or more random beer(s)

Note that the randoms version will delay each request by 1 second, as required by the Punk API

# return a random beer and all his documentation
# output is a dataframe
# punk_randoms()
# 
# punk_randoms(n = 6)


ThinkR-open/punkapi documentation built on Dec. 31, 2020, 5:32 p.m.