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()
. Ifctrl
is provided, thefile_name
andfile_dir
arguments are ignored.- file_name
The name of the output file. If
ctrl
is provided, this argument is ignored.- file_dir
The directory of the output file. If
ctrl
is provided, this argument is ignored.