I needed to figure out which continent various countries, sovereign states and dependent territories are part of. Shared in case others find it helpful.
countries.csvis a flat file of countries and the continent they are part of
countries.jsonis a look-up keyed by 2-digit country code (
Based on United Nations continental regions. The world changes, so names and places may become out of date.