Skip to contents

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.

Usage

read_simulation_meta(ctrl = NULL, file_name, file_dir)

Arguments

ctrl

A list with the control parameters used in calib_aeme() or sa_aeme(). If ctrl is provided, the file_name and file_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.

Value

A data frame with the simulation metadata