[Solved] Dataset of all cities of Italy needed

Sorry for the disturbance and I hope that I am in the right place but please can you direct me to where I can get a dataset to download a CSV file of the directory of all the cities in Italy for my current project.

Pabel:

Have you checked out the WikiData functionality? I do see that WikiData does have some info on the cities of Italy.

Hi Pabel,

To get a list of all the cities in Italy sorted by population descending you can use CityData.

italyCities = CityData[{All, "Italy"}]

To get the available properties for a city e.g. Rome

Entity["City", {"Rome", "Lazio", "Italy"}]["PropertyAssociation"] // DeleteMissing

For specific properties

EntityValue[Entity["City", {"Rome", "Lazio", "Italy"}], {"Population", "Position", "Elevation"}]

Those properties for the top 10 cities

EntityValue[#, {"Population", "Position", "Elevation"}] & /@ italyCities[[1 ;; 10]]

You can use Export to export to CSV.

I personally support Postalcodezip based on their track record. All streets are available on just one database which is on their site : https://www.postalcodezip.com

That’s fantastic and precisely what I required. Also saw that the rest of Europe was
there too.