Message Boards Message Boards

0
|
8581 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

"every city in the world whose population exceeds that of australia"

Posted 10 years ago

How do I compose the question so that I get something more than just the population of Australia?

POSTED BY: Bruce Axtens
2 Replies
Posted 10 years ago

You can use the follows code to get it, If you don't care about which year the data is.

But you may wait for a long time.

AllCitys = CityData[];
AustraliaP = CityData["AustraliaP", "Population"];
ACP = {#, CityData[#, "Population"]} & /@ AllCitys;
Select[ACP, #[[1]] > AustraliaP &][[;; , 1]]
POSTED BY: Xuan Li
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract