Read the statement by Michael Teeuw here.
MMM-COVID-19 (Deprecated)
-
heya, thanks for the module; here’s what myne is looking like with some custom css:
can we get a thousands separator? personally i’d like a comma, but i gather folks in other regions might prefer a period, so the option for either would be useful…
also the US Total numbers don’t seem right; there’s a blue bar a few days ago, but no R or NR, but then again, perhaps the data is outta whack or the api is changing as i now see negative numbers in various places…
-
Possible to add some sort of scaling?
What kind of scaling are you meaning? Sorry, I’m not good at English, So more detailed explanation or example be needed.
-
@mrdenmark
Hmmmm… will consider, but for that, You have to describe all regions to be displayed. I’m not sure it’s really useful or convenience or not. (At this moment, total regions might be over 300s. and not regulated in origianl source) -
@luxiouronimo
thousands separator is added. comma or period or any characters you can use.
At this moment, I’m fixing US total bug. Unfortunately, Original Data of Johns Hopkins Univ might have some invalid format data, (It might be fixed sometimes by who discover it), so I will change to handle data more gracefully or safely. -
@luxiouronimo
https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series/time_series_19-covid-Recovered.csv#L100
Hmmm I found what was wrong.
US and France doesn’t providerecovered
data since Mar 17 any more. That’s why current accumulated recovered is 0, and why negative number is shown. I’m not sure it will be fixed or not.
Have you any good source about this data? -
that’s awesome; hooraay to thousandsSeparator! thank u thank u!
sorry i don’t kno of any better sources for stats, this is a huge improvement over the web page i had been refreshing that only had stats for my state…
thanks for your work =)
-
@Sean no problem, thanks for replying!
What I mean is a way to make the module smaller in size. As of now, it takes up a lot of screen space. I would love to have to have it smaller in size
-
see another tracker with line charts
https://forum.magicmirror.builders/topic/12387/covid-bell-curve-line-graph-tracker
-
@Sean if one doesn’t specify the separator, then the module crashes… I changed the source to default to “,”,
and then it worked ok -
suddenly getting error
[23:33:05.828] [ERROR] (node:27400) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'trim' of undefined at Covid19.extractRegionKey (/home/pi/MagicMirror/modules/MMM-COVID-19/COVID-19.js:24:34) at gc.files (/home/pi/MagicMirror/modules/MMM-COVID-19/COVID-19.js:69:24)