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 world population
  • the percentage of the world 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 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

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

2.5 - June 3, 2020, 2:31 a.m.

- fixes for changes to the Worldometers website that broke version 2.4. Update to this version to restore functionality.


Past versions