Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Data does not load if there are 0 death in Sciensano's data set #2

Open
plosson opened this issue Jul 19, 2020 · 1 comment
Open

Data does not load if there are 0 death in Sciensano's data set #2

plosson opened this issue Jul 19, 2020 · 1 comment

Comments

@plosson
Copy link

plosson commented Jul 19, 2020

I am not sure this notebook is up to date, but just in case, if there is a date missing in the MORT sheet of Sciensano excel, the other sheets don't align and the load_data triggers an error.
More generally I think the load_data function is quite unsafe, as if 2 differents dates are missing the MORT or HOSP for example, the data would load with misaligned dates.

@jcolot
Copy link
Contributor

jcolot commented Nov 23, 2020

Hello, the issue (and the safety issue) has been solved. load_data now assumes 0 in case of no data for a date.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants