• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-COVID-19 (Deprecated)

Scheduled Pinned Locked Moved Health
71 Posts 16 Posters 19.9k Views 16 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    A Former User @siggmur
    last edited by Mar 22, 2020, 11:39 AM

    @siggmur

    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.

    S 1 Reply Last reply Mar 22, 2020, 9:41 PM Reply Quote 1
    • ? Offline
      A Former User @mrdenmark
      last edited by Mar 22, 2020, 11:41 AM

      @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)

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @luxiouronimo
        last edited by Mar 22, 2020, 12:14 PM

        @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.

        S 1 Reply Last reply Mar 23, 2020, 12:21 AM Reply Quote 0
        • ? Offline
          A Former User @luxiouronimo
          last edited by A Former User Mar 22, 2020, 12:23 PM Mar 22, 2020, 12:22 PM

          @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 provide recovered 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?

          1 Reply Last reply Reply Quote 0
          • L Offline
            luxiouronimo
            last edited by Mar 22, 2020, 9:10 PM

            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 =)

            1 Reply Last reply Reply Quote 0
            • S Offline
              siggmur @Guest
              last edited by Mar 22, 2020, 9:41 PM

              @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

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil
                last edited by Mar 22, 2020, 10:14 PM

                see another tracker with line charts

                https://forum.magicmirror.builders/topic/12387/covid-bell-curve-line-graph-tracker

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Guest
                  last edited by sdetweil Mar 23, 2020, 1:41 AM Mar 23, 2020, 12:21 AM

                  @Sean if one doesn’t specify the separator, then the module crashes… I changed the source to default to “,”,
                  and then it worked ok

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil
                    last edited by Mar 24, 2020, 4:34 AM

                    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)
                    
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    ? 1 Reply Last reply Mar 24, 2020, 6:53 AM Reply Quote 0
                    • ? Offline
                      A Former User @sdetweil
                      last edited by Mar 24, 2020, 6:53 AM

                      @sdetweil
                      Maybe original source changed format again.
                      How unstable and irregular… I’m regretting.

                      ? 1 Reply Last reply Mar 24, 2020, 8:14 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 7 / 8
                      7 / 8
                      • First post
                        66/71
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy