I found that the list "Europe countries" encloses "Russia" and "Moldova". This is not correct! Any hint?


You may be looking for EntityClass["Country", "EuropeanUnion"] instead.

Otherwise, if you really want to not include Russia and Moldova:

countries = Complement[
 Entity["GeographicRegion", "Europe"][
  EntityProperty["GeographicRegion", "Countries"]], {Entity["Country",
    "Russia"], Entity["Country", "Moldova"]}]

Now you can still do aggregate computation using EntityGroup, such as

EntityValue[EntityGroup@countries, "Population"]

without including Russia or Moldova. (Alternatively, Total@EntityValue[countries, "Population"] will work too.)

You can also do geographic computation:


enter image description here

As you can see, Moldova and Russia are not included.


Not the answer you're looking for? Browse other questions tagged or ask your own question.