Package 'coffeegeeks'

Title: Coffee Related ggplot2 and rmarkdown Themes
Description: Create coffee related plots in ggplot, choose coffee related emojis, find out why coffee doesn't taste that good and general geekery around coffee.
Authors: Roel M. Hogervorst [cre, aut], Edwin Thoen [aut]
Maintainer: Roel M. Hogervorst <[email protected]>
License: GPL-3
Version: 0.0.0.9000
Built: 2024-11-09 06:08:45 UTC
Source: https://github.com/RMHogervorst/coffeegeeks

Help Index


Return one of the ten coffee colors

Description

Coffee House Ponders theme 1 - mocha_splatter 2 - coffee_grounds 3 - espresso_cream 4 - latte 5 - flower_sheet_light

Cappucino theme 6 - hot_milk 7 - cream 8 - cream_and_coffee 9 - beans 10 - espresso

Usage

coffee_cols(...)

Arguments

...

Columns desired, either the bare names, or the numbers associated with the colors.

Details

Part of the Rstatscoffeegeeks essentials. Return the color code associated by the name and number.

Value

The hex code of the desired color.

Examples

coffee_col(1)
coffee_col(mocha_splatter)
coffee_col(hot_milk, espresso)
coffee_col(1, 5, 6)
coffee_col(espresso, 4, 6)

ggplot2::ggplot(mtcars, aes(drat, mpg)) +
  geom_point(aes(col = as.factor(cyl))) +
  scale_color_manual(values = coffee_cols(beans, latte, espresso))

A set of coffee colors

Description

A set of coffee colors

Usage

coffee_pal()

scale_colour_coffee(...)

scale_color_coffee(...)

scale_fill_coffee(...)

scale_gradient_coffee(..., space = "Lab", na.value = "grey50",
  guide = "colourbar")

Arguments

...

Other arguments passed on to discrete_scale to control name, limits, breaks, labels and so forth.

na.value

Colour to use for missing values


Coffeegeeks

Description

A package full of coffee goodness. including but not limited to coffee themes for ggplot.


Extract flavours from sentance

Description

This function extracts the flavours from a sentance and returns them with or without descriptions. The default returns just the words that are tastes, and if you set description to TRUE a data frame with word and explanation is returned.

Usage

extract_flavour(charvec, description = FALSE)

Arguments

charvec

a sentance like: "The coffee has a smooth soft creamy taste"

description

FALSE or TRUE if you want the description of those words

Examples

extract_flavour("the nippy brew had a oily after taste with turpsy tones")

words to describe coffee taste

Description

The following flavours are used to describe coffee.

Usage

get_flavour_descriptions()

Source

http://articles.submityourarticle.com/words-used-to-describe-the-taste-of-coffee-55923


Help my coffee ...

Description

Helps you diagnose trouble in coffee paradise. See examples for instructions.

Usage

help_my_coffee_(tastes = NULL, is = NULL)

Details

You can add multiple things wrong with your coffee

Source

"http://drinks.seriouseats.com/2013/07/home-coffee-brewing-troubleshooting-grind-size-brew-time.html"

"http://www.jimseven.com/2006/07/31/5-reasons-your-coffee-tastes-bad/"

"https://www.roastycoffee.com/reasons-your-coffee-tastes-bad/"

Examples

help_my_coffee_(is = "cold")
help_my_coffee_(tastes = "sour")
help_my_coffee_(tastes = "bitter")
help_my_coffee_(is = "gone")
help_my_coffee_(tastes = c("sour", "strong"))