Learn R Programming

ankiR (version 0.6.0)

anki_streak: Calculate current review streak

Description

Calculate current review streak

Usage

anki_streak(path = NULL, profile = NULL)

Value

A list with current_streak, longest_streak, and streak_history

Arguments

path

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

profile

Profile name (first profile if NULL)

Examples

Run this code
if (FALSE) {
streak <- anki_streak()
streak$current_streak
streak$longest_streak
}

Run the code above in your browser using DataLab