Closed timday closed 4 years ago
It's a new change meaning less than 5, see https://www.gov.scot/publications/coronavirus-covid-19-tests-and-cases-in-scotland/
yep this is breaking my data, it's not ideal to be fixing the feed processor. I have been mapping '1 to 4' to 3, I think I would prefer if feasible '1 to 5' and then I can add a check and replace with 3, would it be feasible just to use previous days value in these cases. NaN or null is ugly.
Ah, the equivalent of those "1 to 4" strings that appear in the English data then. (But arguably a bit more computer friendly, at least if your code deals with NaNs sensibly). I have a vague idea from somewhere that ranges are given for low counts because of data protection/privacy/anonymisation type concerns rather than any real uncertainty about the actual number. Anyway, thanks for the pointer to the gov.scot source. Closing.
Not sure whether it's just being true to the upstream or something else going wrong somewhere. Don't think I've seen any NaNs before in this stuff. Different enough from the other "to be confirmed" / "unknown location" type things to be worth remarking on anyway:
Oh just noticed there's another one too