File:global-hunger-index-2021.csv

From the change wiki

global-hunger-index-2021.csv(file size: 4 KB, MIME type: text/csv)

Warning: This file type may contain malicious code. By executing it, your system may be compromised.

Summary

Data on the global hunger index of countries.

Converted from File:global-hunger-index-2021.xlsx.

This CSV file can be opened in SQLite, unlike the original XLSX file.

Like the original, this table generally doesn't include "developed countries" where hunger "isn't considered a major problem".

Conversion process used

Step 1: Copy-pasted the relevent cells into a new spreadsheet. Saved it as a .csv

Step 2: Edited any country names that didn't match the way they were named in FAO data tables.

I did this by visually comparing the results of 2 SQLite commands:
   SELECT `Country` FROM ghi WHERE `Country` NOT IN (SELECT `Area` FROM fao);
   SELECT DISTINCT `Area` FROM fao;

From the SQLite results, I made the following changes:

Original Changed to
Turkey Türkiye [''']Made sure the encoding was the same for the ü
Trinidad & Tobago Trinidad and Tobago
Moldova (Rep. of)* Republic of Moldova
Lao PDR Lao People's Democratic Republic
Tajikistan* Tajikistan
Tanzania (United Republic of) United Republic of Tanzania
Korea (DPR) Democratic People's Republic of Korea
Congo (Republic of) Congo
Guinea, Guinea-Bissau, Niger, Uganda, Zambia, and Zimbabwe* Replaced with 6 rows
Burundi, Comoros, South Sudan, and Syrian Arab Republic* Replaced with 4 rows

Step 3: Removed any asterisks from numbers.

Note: Some of the numbers are still not directly parseable. For example, "<5" and "20–34.9". Maybe I should edit those and make them parseable, or maybe not. For now, I'm leaving them as-is.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current00:18, 27 August 2022 (4 KB)Elie (talk | contribs)

There are no pages that use this file.