| read_qsort | R Documentation |
read_qsort() auto-detects the file format from extension and content
and dispatches to a specialised reader. The specialised readers are
also exported for explicit use:
read_qsort_csv(), read_qsort_excel() for generic CSV / Excel
(with HTMLQ / FlashQ / Ken-Q auto-detection baked in)
read_pqmethod() for PQMethod .DAT files
read_kenq() for Ken-Q JSON or CSV
read_kenq_excel() for multi-sheet Ken-Q Excel (Type 1 and Type 2,
both old and Ver2 sub-formats)
read_kade_zip() for KADE ZIP archives
read_easyhtml_firebase() for Easy-HTMLQ Firebase JSON
read_statements() for a standalone statement-text file
All readers return a qsort_data object in J x N orientation
(statements as rows, participants as columns).
read_qsort(file, format = "auto", ...)
read_qsort_csv(
file,
orientation = c("auto", "statements_rows", "participants_rows"),
id_col = c("auto", "first", "none"),
statements = NULL,
distribution = NULL,
...
)
read_qsort_excel(
file,
sheet = 1,
orientation = c("auto", "statements_rows", "participants_rows"),
id_col = c("auto", "first", "none"),
statements = NULL,
distribution = NULL,
...
)
read_pqmethod(file, statements_file = NULL)
read_kenq(file, format = c("auto", "json", "csv"))
read_kenq_excel(file)
read_kade_zip(file)
read_easyhtml_firebase(file)
read_statements(file, column = 1, id_column = NULL)
file |
Path to the data file. |
format |
For |
... |
Passed to the underlying reader. |
orientation |
For generic CSV/Excel: |
id_col |
For generic CSV/Excel: |
statements, distribution |
Optional overrides passed to
|
sheet |
Excel sheet name or index (default |
statements_file |
For PQMethod, optional companion statements file. |
column, id_column |
For |
A qsort_data object, except read_statements() which
returns a named character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.