This is a convenience wrapper around the import_scenarios and import_capabilities functions. Writes cleaned comma-separated formatted files for the scenarios and capabilities 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 Excel 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.

Value

Dataframe of file information on the two newly created files.