Skip to content

efefurkankarakaya/turkiye-cities-and-districts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Cities and Districts (in JSON)

The original data is obtained from the publicly available page at https://uetds.uab.gov.tr/teknik-dokuman.

What's Different?

  • Original data was in excel format and is converted to JSON and added geolocation data for the cities.

  • Sorted according to the city code, each index actually references to the city code.

  • Each district sorted alphabetically according to the UTF-8.

  • Each city has their geolocation data with latitude and longitude.

Data Structure

Note: The first object is empty, as intended. City codes start from 1, and I wanted the array to follow the same structure.

data: [
  {
    "cityName": string,
    "cityCode": number,
    "location": {
      "latitude": string,
      "longitude": string
    },
    districts: string[]
  }
]