Learn R Programming

ankiR (version 0.6.0)

anki_to_org: Export deck to Org-mode format

Description

Exports cards to Emacs Org-mode flashcard format (org-drill compatible).

Usage

anki_to_org(
  deck,
  file = NULL,
  path = NULL,
  profile = NULL,
  include_scheduling = FALSE
)

Value

Invisibly returns the number of cards exported

Arguments

deck

Deck name or ID

file

Output file path (default: deck name + .org)

path

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

profile

Profile name (first profile if NULL)

include_scheduling

If TRUE, include scheduling data as properties

Examples

Run this code
if (FALSE) {
anki_to_org("Medical")
anki_to_org("Vocabulary", file = "vocab.org")
}

Run the code above in your browser using DataLab