This is a wrapper function around import_scenarios and import_capabilities. When invoked, the output of both functions are written to disk.

import_spreadsheet(survey_file = system.file("survey", "survey.xlsx",
  package = "evaluator"), domains = NULL,
  output_dir = "~/evaluator/results")

Arguments

survey_file

Path to survey XLSX file. Defaults to an Evaluator-provided sample spreadsheet.

domains

Dataframe of domains and domain IDs. Defaults to built-in sample domains dataset.

output_dir

Output file directory. Defaults to a data subdirectory in the current working directory.

Value

Dataframe of generated files (capabilities.csv and scenarios.csv)