View source: R/convertResultsCase.R
| convertJsonResultsFileCase | R Documentation |
Convert a DQD JSON results file between camelcase and (all-caps) snakecase. Enables viewing of pre-v.2.1.0 results files in later DQD versions, and vice versa
convertJsonResultsFileCase(
jsonFilePath,
writeToFile,
outputFolder = NA,
outputFile = "",
targetCase
)
jsonFilePath |
Path to the JSON results file to be converted |
writeToFile |
Whether or not to write the converted results back to a file (must be either TRUE or FALSE) |
outputFolder |
The folder to output the converted JSON results file to |
outputFile |
(OPTIONAL) File to write converted results JSON object to. Default is name of input file with a "_camel" or "_snake" postfix |
targetCase |
Case into which the results file parameters should be converted (must be either "camel" or "snake") |
DQD results object (a named list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.