This function reads a JSON file from the specified path, extracts descriptions, and returns a tibble with variable names and their corresponding descriptions.

get_descriptions(path = NULL)

Arguments

path

A character string specifying the path to the JSON file. Default is NULL.

Value

A tibble with two columns: var (variable names) and desc (descriptions).

Examples

if (FALSE) { # \dontrun{
# Example usage:
descriptions <- get_descriptions("path/to/your/jsonfile.json")
} # }