Skip to contents

Primary control function of the export, transform, and load (ETL) process. Takes standardized model outputs and user-input parameters to export the model estimates appropriately.

Usage

export_estimates(
  resolved_params,
  est_catch_groups,
  analysis_lut,
  creel_estimates,
  conn
)

Arguments

resolved_params

User-input parameters defined during the model estimation process.

est_catch_groups

Output of resolve_catch_groups().

analysis_lut

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

creel_estimates

List object containing model estimates in a standardized format. Typically passed from 'transform_estimates' function.

conn

Connection to the creel database.

Value

Invisibly, NULL. Called for side effects.