Learn R Programming

ankiR (version 0.6.0)

anki_to_mochi: Export to Mochi format

Description

Exports cards to Mochi's JSON import format.

Usage

anki_to_mochi(
  path = NULL,
  profile = NULL,
  output_path = "mochi_cards.json",
  deck_pattern = NULL
)

Value

Invisibly returns the number of cards exported

Arguments

path

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

profile

Profile name (first profile if NULL)

output_path

Path for output JSON file

deck_pattern

Optional pattern to filter decks

Examples

Run this code
if (FALSE) {
anki_to_mochi(output_path = "mochi_import.json")
}

Run the code above in your browser using DataLab