I am working on computing the 20 largest cities in California.
EntityList[
EntityClass["City",
List[Rule[EntityProperty["City", "AdministrativeDivision"],
Entity["AdministrativeDivision",
List["California", "UnitedStates"]]],
Rule[EntityProperty["City", "Population"], TakeLargest[20]]]]]
I do not understand what I am doing wrong here. Can someone help me figure this out?
GeoEntities[Entity["AdministrativeDivision", {"California", "UnitedStates"}], "City"]
$\endgroup$