Restricting Countries

When restricting countries with the ‘Country’ data type you can enter countries that you don’t want, this is tedious when I want to include only, say, 20 different countries. Would a data set work for this issue? Will the countries in the data set still trigger the data types like ‘City’ and ‘Country Code’ to correlate?