Skip to contents

Convert model estimate metadata objects to json format

Usage

json_conversion(type, params, analysis_lut)

Arguments

type

type of metadata to convert to JSON format for storage in the analysis_lut

params

user-input parameters defined during the model estimation process

analysis_lut

lookup table created during the model estimation process which stores a session-specific analysis_id key and metadata about the analysis.

Value

Returns the analysis_lut with a new field containing a JSON string of the type

Examples

if (FALSE) { # \dontrun{
json_conversion(type = "script")
json_conversion(type = "r_session")
} # }