I am using v12.2.0-Win7-x64.
CityData[Entity[
"City", {"Shanghai", "Shanghai", "China"}], "Population"]
Quantity[14007000, "People"]
Entity["City", {"Shanghai", "Shanghai", "China"}]["Population"]
Quantity[24152700, "People"]
Question
Am I using these correctly? Why is there (such) a difference? Thanks for your help as always.
AdministrativeDivisionData[{"Shanghai", "China"}, "Population"]
gives about 23 million, which is closer to but still less thanEntityValue[Entity["City", {"Shanghai", "Shanghai", "China"}], "Population"]
$\endgroup$Entity["City", {"Shanghai", "Shanghai", "China"}]
, I searched if there were "Metro Area" / "Suburban" population properties etc. but that attempt was not successful. $\endgroup$