Renders the frozen text of a source as HTML: every paragraph is a numbered
segment (the unit you address in qda_code()), and all codings are
highlighted in the color of their code. In RStudio the HTML opens in the
Viewer pane; elsewhere it is written to a temp file (opened in a browser
when interactive).
Examples
qda_open(file.path(tempfile(), "example.jellyqda"))
qda_import(system.file("extdata", "interview_01.txt", package = "jellyqda"))
#> # A tibble: 1 × 5
#> id name format chars status
#> <int> <chr> <chr> <int> <chr>
#> 1 1 interview_01.txt txt 856 ok
html <- qda_view(1, open = FALSE) # open = TRUE shows it in the Viewer
substr(html, 1, 80)
#> [1] "<!DOCTYPE html><html><head><meta charset=\"utf-8\"><style>body{font-family:Georgia"
qda_close()