Description Usage Arguments Value
View source: R/convert-json-to-table.R
Reads all the files given (or in 'directory') and gathers the data into a single table by variable, where the variable is the unlisted json form variable.
1 | convert_all_forms_to_table(file_list = NULL, directory = NULL)
|
file_list |
A named or unnamed list of files. If 'NULL', will gather list of files from 'output_dir'. If named, the names will be the column names for the submissions; otherwise the names will be generic rubbish. |
directory |
The directory with the JSON files. If 'NULL', then 'file_list' is used. |
A table with the column 'variables' that corresponds to all variable names across all JSON files, and each file's values are listed in a column of the table. The column names are either a generic name or the name assigned to the file in file_list. Will return 'NULL' if both 'file_list' and 'directory' are 'NULL',
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.