This function reads a JSON file from the specified path, extracts skip logic rules, and returns a data frame with the skip logic information.

get_skiplogic(path = NULL)

Arguments

path

A character string specifying the path to the JSON file containing skip logic rules. Default is NULL.

Value

A data frame containing the skip logic information, including variables, question IDs, question text, response values, and skip logic conditions.

Examples

if (FALSE) { # \dontrun{
# Example usage:
skip_logic <- get_skiplogic(path = "path/to/your/skiplogic.json")
} # }