Message Boards Message Boards

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


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:

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

Thanks in advance.

POSTED BY: Aeyoss Antelope
1 year ago

Group Abstract Group Abstract