Skip to contents

Opens the SQLite project file at path (created together with its schema if it does not exist yet) and makes it the active project for all other qda_*() functions. The .jellyqda extension is appended if missing.

Usage

qda_open(path, auto_snapshot = 25)

Arguments

path

Path to the project file, e.g. "meinarbeit.jellyqda".

auto_snapshot

Integer. After this many logged actions an automatic backup snapshot is written (see qda_backup()). Set to Inf to disable.

Value

Invisibly, a one-row tibble with project information (see qda_project()).

Examples

project <- file.path(tempfile(), "example.jellyqda")
qda_open(project)
qda_project()
#> # A tibble: 1 × 8
#>   project               size_bytes sources codes codings memos events backup_dir
#>   <chr>                      <dbl>   <int> <int>   <int> <int>  <int> <chr>     
#> 1 /tmp/RtmpZ9NAWy/file…      86016       0     0       0     0      1 /tmp/Rtmp…
qda_close()