stevenliuyi / covid19

an interactive, animated COVID-19 coronavirus map to track the outbreak over time by country and by region for selected countries
MIT License
325 stars 97 forks source link

Trying not to crash in missing_data_fix.j when data is NaN or null #27

Closed esteblock closed 4 years ago

esteblock commented 4 years ago

Hello Yi Liu, I was having some trouble when data got NaN and null. missing_data_fix.js was ending with error. Screenshot 2020-04-10 10 38 35

I preffered the process not to be end, but just to give a warning. So I added these line that will avoid the process of installing to stop.

I hope will help!

esteblock commented 4 years ago

Hello. In the last 2 commits I added the Yachay Data COVID-19 Chilean Repository which is having updated data for Chilean regions. I modified the crawler.py, and I'm using pandas I guess that I had to add 'pandas' to the requierements.txt, For me it works perfectly!

esteblock commented 4 years ago

commit 8762701 will have all the chilean regions data correctly incorporated

stevenliuyi commented 4 years ago

Thank you for your contribution!