BCWF-Wetlands / wespr

Conversion of WESP excel Calculator to R functions.
Apache License 2.0
3 stars 0 forks source link

Add new validator test for questions where all values are zero #92

Open gcperk opened 4 months ago

gcperk commented 4 months ago

There are however 5 cases that wespR identifies as ‘do not appear to be filled out’ where they have a 0 value - these cases are legit:

OF28_1 to _5 (site index) are 0 if NA - fixed in ecoP_03_Within.R - fail wespR F2 (height class) if blank is 0 - fail wespR F4 (dominance of most abundant shrub) if blank is 0 - fail wespR F17_0 (soil surface texture) - if blank then set to 0 - fail wespR F51 (Type of upland cover) if blank is 0 - fail wespR

Create a new validator test and update these so all zeros are allowed. I created a new valuator type (multi_choice_flexible") but needs more testing to add this to the work document as currently creates other errors.

The idea is for these to no longer flag an error when all values are zero.