Coronavirus Stats

Coronavirus Stats displays up-to-date statistics about the virus


Description

Coronavirus Stats shows you up-to-date statistics about the COVID-19 virus for the world as well as your choice of countries and other locations:

  • the current population
  • the percentage of the population that has been infected with COVID-19, both overall and currently
  • the number of all-time cases, active cases, closed cases, critical cases, percent of critical cases, deaths and recoveries
  • the current death and recovery rate, both overall and among only closed cases
  • the total number of tests and percent positive
  • the amount each of these stats has changed since the last run
  • the time when last run and how many hours/minutes ago it was run

Note: Coronavirus Stats has only been tested on iOS 13. I am told that in the current public beta of iOS 14 the location selection does not work. Unfortunately I do not have the means to test on the beta or fix issues there, so for now this shortcut is only compatible with iOS 13.

If you are interested in using the workflow features there is a comment item near the beginning that explains the options available to you. You pass in a dictionary item with your choice of settings when you run it from your shortcut. The return is a list where the first item is the report and the 2nd and subsequent items are dictionaries containing the core date for each location you requested.

Known Issues:

  • This shortcut may not work when run from an automation or via Siri. It will either do nothing or report an “XPC connection to the extension was interrupted” error. I believe this issue only occurs when your iPhone is locked.

  • The search bar in the locations selection menu should not be used! Due to an iOS 13 bug, using it will cause the Shortcut to hang when the Done button is pressed.

What this Shortcut requires your permission for and why:

  • It will request access to iCloud Files. Note that giving it this permission only allows it access to the Shortcuts folder in iCloud Files. This is where the Shortcut stores your location settings, the data history files for each location and a skip version file if you choose to skip an update you are notified about.

  • It will request your permission to access the following websites. https://www.worldometers.info/coronavirus/ and https://countrymeters.info/en/World. These are the sources of the base stats used by the Shortcut. It will also request your permission to access https://routinehub.co/ to check for updates to the Shortcut.

Coronavirus Stats

Coronavirus Stats utilizes https://www.worldometers.info/ and https://countrymeters.info/ for its information.


Latest Release Notes

3.1 - Sept. 19, 2020, 11:57 p.m.

- Resolves problems with location selection in iOS 14


Past versions