anki_gamification: Gamification Stats
Description
Calculate XP, level, achievements, and progress toward goals based on
your Anki review history. Makes studying more engaging!
Usage
anki_gamification(
path = NULL,
profile = NULL,
xp_per_review = 10,
xp_per_correct = 5,
xp_per_streak = 25
)
Value
A list with XP, level, achievements, and stats
Arguments
- path
Path to collection.anki2 (auto-detected if NULL)
- profile
Profile name (first profile if NULL)
- xp_per_review
XP awarded per review (default 10)
- xp_per_correct
Bonus XP for correct answer (default 5)
- xp_per_streak
Bonus XP per day of streak (default 25)
Examples
Run this codeif (FALSE) {
stats <- anki_gamification()
stats$level
stats$achievements
}
Run the code above in your browser using DataLab