Learn R Programming

ankiR (version 0.6.0)

anki_export_importable: Export to Anki-importable format

Description

Export to Anki-importable format

Usage

anki_export_importable(data, file, tags = NULL)

Value

Invisibly returns number of cards

Arguments

data

Data frame with front and back columns

file

Output file path

tags

Optional tags

Examples

Run this code
if (FALSE) {
cards <- data.frame(front = c("Q1", "Q2"), back = c("A1", "A2"))
anki_export_importable(cards, "new_cards.txt")
}

Run the code above in your browser using DataLab