Learn R Programming

ankiR (version 0.6.0)

anki_plot_heatmap: Plot review heatmap calendar

Description

Creates a calendar heatmap showing review activity.

Usage

anki_plot_heatmap(
  path = NULL,
  profile = NULL,
  year = NULL,
  colors = c("#ebedf0", "#9be9a8", "#40c463", "#30a14e", "#216e39")
)

Value

A ggplot2 object

Arguments

path

Path to collection.anki2 (auto-detected if NULL)

profile

Profile name (first profile if NULL)

year

Year to display (default: current year)

colors

Vector of colors for the gradient (low to high)

Examples

Run this code
if (FALSE) {
anki_plot_heatmap()
anki_plot_heatmap(year = 2024)
}

Run the code above in your browser using DataLab