Working through #119 we've hit some odd problems with the data coming out of the end of our pipe and I think @seabbs asked how we could have detected them earlier.
Here are some possible tests, likely to be applied to get_regional_data output, not on CRAN, but possibly as part of our regular nightly dataset sanity checking.
These should probably be run with localisation of regions off to make it easier to write generically. They will also rely in some places on comparing output at level 1 with output at level 2.
Working through #119 we've hit some odd problems with the data coming out of the end of our pipe and I think @seabbs asked how we could have detected them earlier.
Here are some possible tests, likely to be applied to
get_regional_dataoutput, not on CRAN, but possibly as part of our regular nightly dataset sanity checking.These should probably be run with localisation of regions off to make it easier to write generically. They will also rely in some places on comparing output at level 1 with output at level 2.
NAin level 1 region codes in [0,1] (@RichardMN More additional tests on data in regional data #312)NAin level 2 region codes in [0,1] (if there are level 2 region codes) (@RichardMN More additional tests on data in regional data #312)NA? (@joseph-palmer Additional tests #307)NA? (@joseph-palmer Additional tests #307)