ameenp23 / covid-map-trace-angular

MIT License
2 stars 2 forks source link

Calculate heat map intensity in hotspot areas! #47

Open adeebabdulsalam opened 4 years ago

adeebabdulsalam commented 4 years ago

the 'locations' collection has a 'patients' subcollection for each location where it contains a reference to all the patients who went through that location. calculate, The hotspot index of a location = number of patients came to that location ie(patients.size) / (sum of all locations patient size)

{the index should be a number between 0 and 1}