Learn R Programming

ankiR (version 0.2.0)

anki_collection: Open an Anki collection

Description

Open an Anki collection

Usage

anki_collection(path = NULL, profile = NULL)

Value

An anki_collection object with methods: notes(), cards(), revlog(), tables(), close()

Arguments

path

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

profile

Profile name (first profile if NULL)

Examples

Run this code
if (FALSE) {
col <- anki_collection()
col$notes()
col$close()
}

Run the code above in your browser using DataLab