Code-for-All / lockdown

Project Lockdown (an initiative from The IO Foundation) is a civic tech, interactive platform providing an overview of the state of Human and Digital Rights around the globe. It evaluates policies obtained from high quality sources that may impact their observance. It provides, among other tools, a layered map interface that allows for a visual representation of the policies adopted, assisting a broad range of stakeholders in understanding the global state of their Rights. This empowers them to become active agents of global change.
https://ProjectLockdown.world
Apache License 2.0
28 stars 30 forks source link

Stats returning error #84

Closed anyitomizayi closed 4 years ago

anyitomizayi commented 4 years ago

Stats returning error...currently for Myanmar and Yemen, so far

thepassle commented 4 years ago

Can confirm both image

Its a problem with the coronatracker API, I've contacted them about

Tracked here: https://github.com/theleadio/coronatracker/issues/62

thepassle commented 4 years ago

If the corona tracker api doesnt have data for a country, or has no cases, it'll return [null]. We guard against this now and show 0 instead. Fixed in: f5cca3657f195cdcf4eca111c331b48219fbe14b