scorecard_precheck: Check scorecard configuration file before use

Description Usage Arguments Value See Also

View source: R/scorecard_precheck.R

Description

Determines whether a scorecard YAML file contains expected structure and some content. Structure includes provision of activate, candidate, deactivated, and retired model groups. Content includes identification of scorecard row entry model configuration file names and whether these files are readable in the models sub-directory of the current working directory. Scorecard file names missing, non-existent scorecard file, and ill-structured YAML return valid=FALSE in the resulting list. Activated models expected to have initeq initial equity values given.

Usage

1
scorecard_precheck(scorecard_file = NA)

Arguments

scorecard_file

the path to the scorecard configuration file (YAML)

Value

list containing validation checks and final determination

See Also

scorecard_update, scorecard_produce


greatgray/scorecard documentation built on Feb. 14, 2018, 4:28 a.m.