Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect (extra) column in output misrepresenting data #48

Closed
buckleyc opened this issue Mar 25, 2020 · 1 comment
Closed

Incorrect (extra) column in output misrepresenting data #48

buckleyc opened this issue Mar 25, 2020 · 1 comment

Comments

@buckleyc
Copy link

@buckleyc buckleyc commented Mar 25, 2020

The requested country has an extra column resulting in a deadly misrepresentation of data (i.e., deaths).
Note USA has an extra/blank column 2. This results in the subsequent columns being one off, thus reporting deaths as cases.

Example: "corona-cli usa"

corona-cli v2.5.0 by Awais.dev
Track the Coronavirus disease (COVID-19).

┌───────────┬─────────┬───────────────┬────────┬────────────────┬───────────┬────────┬──────────┬─────────────┬─────────┐
│ Country │ Cases │ Cases (today) │ Deaths │ Deaths (today) │ Recovered │ Active │ Critical │ Per Million │ │
├───────────┼─────────┼───────────────┼────────┼────────────────┼───────────┼────────┼──────────┼─────────────┤ │
│ Worldwide │ 467,269 │ — │ 21,160 │ — │ 113,808 │ — │ — │ — │ │
├───────────┼─────────┼───────────────┼────────┼────────────────┼───────────┼────────┼──────────┼─────────────┼─────┬───┤
│ USA │ │ 65,342 │ 10,486 │ 922 │ 142 │ 393 │ 64,027 │ 1,411 │ 197 │ 3 │
└───────────┴─────────┴───────────────┴────────┴────────────────┴───────────┴────────┴──────────┴─────────────┴─────┴───┘

@ahmadawais

This comment has been minimized.

Copy link
Owner

@ahmadawais ahmadawais commented Mar 25, 2020

Before filing a bug it's important that you check if you are using the latest version of the CLI or not. I'm pretty sure you're on an older deprecated version.

UPDATE corona-cli by running:

npm i -g corona-cli

Peace! ✌️

@ahmadawais ahmadawais closed this Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.