Editing statistical data with gawk


The media rarely highlights data on population density, the average age of the population, life expectancy, and so on, making it difficult to compare outbreaks across countries. For example, Germany has a population density that is 10 times higher than Sweden, making more stringent measures to contain the pandemic necessary (recommending versus mandating masks).

If you are looking for a more nuanced view of the COVID-19 data than what you might find in the media, gawk scripts and a few shell commands let you evaluate COVID-19 data using the criteria you choose.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Open Data

    A lot of COVID-19 data is available through online REST APIs. With a little ingenuity and some open source tools, you can extract and analyze the data yourself.

  • Gnuplot

    Use Gnuplot with command-line utilities.

  • Shell Download Manager

    A few lines of shell code and the Gawk scripting language make downloading files off the web a breeze.

  • Xrmap

    If you want to become an expert in world geography, why not get a little help from the CIA?

  • Distro Walk: Linux COVID-19

    Several leading Linux distributions are taking steps to address the challenges of the COVID-19 pandemic.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More