| validate_dataset | R Documentation |
Validates a dataset directory against the full 'Psych-DS' specification using the same validator used by the 'psychds-validator' command-line tool.
validate_dataset(dir_path, json = FALSE, verbose = FALSE, use_events = FALSE)
dir_path |
Path to the 'Psych-DS' dataset directory to validate. |
json |
Logical. If |
verbose |
Logical. If |
use_events |
Logical. If |
Requires 'Node.js' to be installed and available on the system PATH. Install 'Node.js' from https://nodejs.org.
Invisibly returns the exit status. Called for its side effect of printing validation results to the console.
## Not run:
# Standard text output
validate_dataset("path/to/my-study")
# JSON output for programmatic use
validate_dataset("path/to/my-study", json = TRUE)
# Verbose with warnings
validate_dataset("path/to/my-study", verbose = TRUE)
# Live checklist
validate_dataset("path/to/my-study", use_events = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.