View Single Post
Old 01-03-2023, 10:49 PM   #5
FleetWalker
Minors (Double A)
 
Join Date: May 2002
Location: Granby, CT
Posts: 133
Try this one: https://www.mediafire.com/file/spscd...01-03.xml/file

It includes data from the Mexican 2020 census as well.

There are a couple of oddball places. The District of Mexico City, includes Mexico City as well as a bunch of other places that are part of Mexico City (and counted in its population). That's they way the default_world,xml file is set-up and it keeps the state of Mexico City from only having a single city. The effect is that if someone is from Mexico City, there is 50/50 chance they will either be listed as from Mexcio City or from one of the districts.

Likewise, I added the 5 boroughs of NYC in addition to NYC itself. I did that so that Brooklyn, Staten Island, etc.. could have teams (as they do in real life). This does have the unfortunate effect of double-weighting the city when players from New York are generated—players from NY are twice as likely to be from NYC (or one of its boroughs) than they should be based simply of city populations.

Note that the state populations are correct as those populations are from state-level data and not the sum of the individual cities. Outside of New England, there are unincorporated places that make up part of the population figures, so you can't just sum the population of the cities.

I believe the non-Latin character issue has been resolved . . . hopefully.

Last edited by FleetWalker; 01-03-2023 at 11:00 PM.
FleetWalker is offline   Reply With Quote