Open Sjors opened 4 years ago
If you remove Italy from data/regions.csv, the model run throws an error due to these special case lines:
data/regions.csv
https://github.com/ImperialCollegeLondon/covid19model/blob/865806ff6f7afb393c7ba38ce3557641f5c3f3a6/make-table.r#L10-L11
That should be easy to prevent by checking if "Italy" is in countries.
countries
There's also some special case code for the UK.
Hi @Sjors,
Thanks for pointing that out. We will amend that in the next release. Also the code for UK is just for handling a special case; it doesn't affect if UK is in there or not.
If you remove Italy from
data/regions.csv
, the model run throws an error due to these special case lines:https://github.com/ImperialCollegeLondon/covid19model/blob/865806ff6f7afb393c7ba38ce3557641f5c3f3a6/make-table.r#L10-L11
That should be easy to prevent by checking if "Italy" is in
countries
.There's also some special case code for the UK.