This function reads the simulation metadata from the output file. The output file can be either a DuckDB database or a CSV file. The function reads the metadata and returns it as a data frame.
Arguments
- ctrl
A list with the control parameters used in
calib_aeme()orsa_aeme(). Ifctrlis provided, thefile_nameandfile_dirarguments are ignored.- file_name
The name of the output file. If
ctrlis provided, this argument is ignored.- file_dir
The directory of the output file. If
ctrlis provided, this argument is ignored.- type
Optional character vector to filter by simulation type. Possible values are "sa" for sensitivity analysis simulations and "calib" for calibration simulations. If not provided, all simulations are returned.
