Skip to contents

Initialize darwin data structure.

Usage

darwin_data(
  project_dir,
  working_dir = NULL,
  output_dir = NULL,
  key_models_dir = NULL,
  ...
)

Arguments

project_dir

Directory containing input files for pyDarwin (e.g., options.json).

working_dir

Directory containing misc results folders generated from a pyDarwin search. This is the default location of the key_models, output, and temp folders.

output_dir

Directory containing output files such as "results.csv" and final control files. Default location is inside working_dir/output.

key_models_dir

Directory of the key_models folder. Default location is inside working_dir/key_models. Note, key models are not imported if argument is NULL, explicitly specify key_models_dir to import files for darwinReportUI.

...

Additional args.

Value

Object of class darwin_data.

Details

If working_dir and output_dir are sub directories of project_dir, these arguments can be ignored. The key_models_dir is not required to initialize the darwin_data object. If specified, however, key models data will be imported which may take time given the number of key models and size of output tables. See import_key_models.