Message Boards Message Boards

GeoRegionValuePlot[] only works with certain CountryData[] properties?

GROUPS:

I found the first command in the help page for CountryData[].

GeoRegionValuePlot[EntityClass["Country", "Asia"] -> "LiteracyRate"]

Then I looked at the properties and tried a few more. Confusingly some work and some do not. Is there any rhyme or reason to this?

GeoRegionValuePlot[EntityClass["Country", "Asia"] -> "PovertyFraction"]

GeoRegionValuePlot[EntityClass["Country", "Asia"] -> "FemalePopulation"]

GeoRegionValuePlot[ EntityClass["Country", "Asia"] -> "ElectricityConsumption"]

GeoRegionValuePlot[EntityClass["Country", "Asia"] -> "LaborForce"]

Of course, extracting the data, and building the list input to this command also works, thusly:

GeoRegionValuePlot[
 Flatten[{# ->  CountryData[#, "PovertyFraction"]} & /@ EntityList[EntityClass["Country", "Asia"]]]]

Thanks in advance.

POSTED BY: Aeyoss Antelope
Answer
7 months ago

Group Abstract Group Abstract