Learn R Programming

ankiR (version 0.6.0)

anki_heatmap_data: Get review data formatted for calendar heatmaps

Description

Get review data formatted for calendar heatmaps

Usage

anki_heatmap_data(path = NULL, profile = NULL, year = NULL)

Value

A tibble with date and count columns suitable for heatmap visualization

Arguments

path

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

profile

Profile name (first profile if NULL)

year

Optional year to filter (NULL for all)

Examples

Run this code
if (FALSE) {
heatmap_data <- anki_heatmap_data()
# Use with ggplot2:
# ggplot(heatmap_data, aes(week, weekday, fill = reviews)) + geom_tile()
}

Run the code above in your browser using DataLab