Validate a complete repository containing multiple forecast folders

validate_repository(
  data_folder = "data-processed",
  metadata_folder = "model-metadata",
  data_schema = "schema-data.yml",
  metadata_schema = "schema-metadata.yml"
)

Arguments

data_folder

The path to the folder containing forecasts

metadata_folder

The path to the folder containing metadata

data_schema

Path to the .yml schema file

metadata_schema

Path to the .yml schema file

Value

An object of class fhub_validations.

Examples

validate_repository(
  system.file("testdata", package = "ForecastHubValidations")
)
#>  : [ENOENT] Failed to search directory '': no such file or directory