Skip to content

Commit

Permalink
Added 3 districts and XML version done
Browse files Browse the repository at this point in the history
  • Loading branch information
MIMAXUZ committed Dec 29, 2020
1 parent 991cb65 commit ed6cdcd
Show file tree
Hide file tree
Showing 12 changed files with 10,486 additions and 227 deletions.
412 changes: 207 additions & 205 deletions CSV/districts.csv

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions JSON/districts.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{"id":"24","region_id":"1","name_uz":"Taxtako‘pir tumani","name_oz":"Òàõòàê¢ïèð òóìàíè","name_ru":"Òàõòàêóïûðñêèé ðàéîí"},
{"id":"25","region_id":"1","name_uz":"To‘rtko‘l tumani","name_oz":"Ò¢ðòê¢ë òóìàíè","name_ru":"Òóðòêóëüñêèé ðàéîí"},
{"id":"26","region_id":"1","name_uz":"Xo‘jayli tumani","name_oz":"Õ¢æàéëè òóìàíè","name_ru":"Õîäæåéëèéñêèé ðàéîí"},
{"id":"27","region_id":"1","name_uz":"CHimboy tumani","name_oz":"×èìáîé òóìàíè","name_ru":"×èìáàéñêèé ðàéîí"},
{"id":"27","region_id":"1","name_uz":"Chimboy tumani","name_oz":"×èìáîé òóìàíè","name_ru":"×èìáàéñêèé ðàéîí"},
{"id":"28","region_id":"1","name_uz":"Shumanay tumani","name_oz":"Øóìàíàé òóìàíè","name_ru":"Øóìàíàéñêèé ðàéîí"},
{"id":"29","region_id":"1","name_uz":"Ellikqal‘a tumani","name_oz":"Ýëëèê?àëúà òóìàíè","name_ru":"Ýëëèêêàëèíñêèé ðàéîí"},
{"id":"30","region_id":"2","name_uz":"Andijon shahri","name_oz":"Àíäèæîí øà?ðè","name_ru":"ãîðîä Àíäèæàí"},
Expand Down Expand Up @@ -183,7 +183,7 @@
{"id":"196","region_id":"13","name_uz":"Yangiariq tumani","name_oz":"ßíãèàðè? òóìàíè","name_ru":"ßíãèàðûêñêèé ðàéîí"},
{"id":"197","region_id":"13","name_uz":"Yangibozor tumani","name_oz":"ßíãèáîçîð òóìàíè","name_ru":"ßíãèáàçàðñêèé ðàéîí"},
{"id":"198","region_id":"14","name_uz":"Bektimer tumani","name_oz":"Áåêòèìåð òóìàíè","name_ru":"Áåêòåìèðñêèé ðàéîí"},
{"id":"199","region_id":"14","name_uz":"M.Ulugbek tumani","name_oz":"Ì.Óëó?áåê òóìàíè","name_ru":"Ìèðçî-Óëóãáåêñêèé ðàéîí"},
{"id":"199","region_id":"14","name_uz":"Mirzo Ulug'bek tumani","name_oz":"Ìèðçî-Óëóãáåêñêèé ðàéîí","name_ru":"Ìèðçî-Óëóãáåêñêèé ðàéîí"},
{"id":"200","region_id":"14","name_uz":"Mirobod tumani","name_oz":"Ìèðîáîä òóìàíè","name_ru":"Ìèðàáàäñêèé ðàéîí"},
{"id":"201","region_id":"14","name_uz":"Olmazor tumani","name_oz":"Îëìàçîð òóìàíè","name_ru":"Àëìàçàðñêèé ðàéîí"},
{"id":"202","region_id":"14","name_uz":"Sirg'ali tumani","name_oz":"Ñèðãàëè òóìàíè","name_ru":"Ñåðãåëèéñêèé ðàéîí"},
Expand All @@ -200,4 +200,6 @@
{"id":"213","region_id":"11","name_uz":"Yangiyo‘l shahri","name_oz":"ßíãèé¢ë øà?ðè","name_ru":"ãîðîä ßíãèþëü"},
{"id":"215","region_id":"11","name_uz":"Toshkent tumani","name_oz":"Òîøêåíò òóìàíè","name_ru":"Òàøêåíòñêèé ðàéîí"},
{"id":"216","region_id":"13","name_uz":"Xiva shahri","name_oz":"Õèâà øà?ðè\r\n\r\nÕèâà øà?ðè\r\n\r\nÕèâà øà?ðè","name_ru":"ãîðîä Õèâà"},
{"id":"217","region_id":"13","name_uz":"Do'stlik shahri","name_oz":"Ä¢ñòëèê øà?ðè\r\nÄ¢ñòëèê øà?ðè","name_ru":"ãîðîä Ä¢ñòëèê\r\nÄ¢ñòëèê"}]
{"id":"217","region_id":"13","name_uz":"Do'stlik shahri","name_oz":"Ä¢ñòëèê øà?ðè\r\nÄ¢ñòëèê øà?ðè","name_ru":"ãîðîä Ä¢ñòëèê\r\nÄ¢ñòëèê"},
{"id":"218","region_id":"14","name_uz":"Yangihayot tumani","name_oz":"ßíãèõà¸ò òóìàíè","name_ru":"ßíãèõà¸òñêèé ðàéîí"},
{"id":"219","region_id":"13","name_uz":"Tuproqqala tumani","name_oz":"Òóïðî??àëúà òóìàíè","name_ru":"Òèðîêêàëüñêèé ðàéîí"}]
Binary file added MSSQL/UzbekistanDB.bak
Binary file not shown.
Binary file removed MSSQL/regionsDB.bak
Binary file not shown.
16 changes: 9 additions & 7 deletions MySQL/regions_mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Sep 16, 2020 at 02:22 PM
-- Generation Time: Dec 29, 2020 at 02:35 PM
-- Server version: 5.7.29-log
-- PHP Version: 7.3.17
-- PHP Version: 7.4.5

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
Expand All @@ -18,7 +18,7 @@ SET time_zone = "+00:00";
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `regions_database`
-- Database: `uzbekistandb`
--

-- --------------------------------------------------------
Expand All @@ -34,7 +34,7 @@ CREATE TABLE IF NOT EXISTS `districts` (
`name_oz` varchar(100) DEFAULT NULL,
`name_ru` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=218 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=220 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `districts`
Expand All @@ -53,7 +53,7 @@ INSERT INTO `districts` (`id`, `region_id`, `name_uz`, `name_oz`, `name_ru`) VAL
(24, 1, 'Taxtako‘pir tumani', 'Тахтакўпир тумани', 'Тахтакупырский район'),
(25, 1, 'To‘rtko‘l tumani', 'Тўрткўл тумани', 'Турткульский район'),
(26, 1, 'Xo‘jayli tumani', 'Хўжайли тумани', 'Ходжейлийский район'),
(27, 1, 'CHimboy tumani', 'Чимбой тумани', 'Чимбайский район'),
(27, 1, 'Chimboy tumani', 'Чимбой тумани', 'Чимбайский район'),
(28, 1, 'Shumanay tumani', 'Шуманай тумани', 'Шуманайский район'),
(29, 1, 'Ellikqal‘a tumani', 'Элликқалъа тумани', 'Элликкалинский район'),
(30, 2, 'Andijon shahri', 'Андижон шаҳри', 'город Андижан'),
Expand Down Expand Up @@ -225,7 +225,7 @@ INSERT INTO `districts` (`id`, `region_id`, `name_uz`, `name_oz`, `name_ru`) VAL
(196, 13, 'Yangiariq tumani', 'Янгиариқ тумани', 'Янгиарыкский район'),
(197, 13, 'Yangibozor tumani', 'Янгибозор тумани', 'Янгибазарский район'),
(198, 14, 'Bektimer tumani', 'Бектимер тумани', 'Бектемирский район'),
(199, 14, 'M.Ulugbek tumani', 'М.Улуғбек тумани', 'Мирзо-Улугбекский район'),
(199, 14, 'Mirzo Ulug\'bek tumani', 'Мирзо-Улугбекский район', 'Мирзо-Улугбекский район'),
(200, 14, 'Mirobod tumani', 'Миробод тумани', 'Мирабадский район'),
(201, 14, 'Olmazor tumani', 'Олмазор тумани', 'Алмазарский район'),
(202, 14, 'Sirg\'ali tumani', 'Сиргали тумани', 'Сергелийский район'),
Expand All @@ -242,7 +242,9 @@ INSERT INTO `districts` (`id`, `region_id`, `name_uz`, `name_oz`, `name_ru`) VAL
(213, 11, 'Yangiyo‘l shahri', 'Янгийўл шаҳри', 'город Янгиюль'),
(215, 11, 'Toshkent tumani', 'Тошкент тумани', 'Ташкентский район'),
(216, 13, 'Xiva shahri', 'Хива шаҳри\r\n\r\nХива шаҳри\r\n\r\nХива шаҳри', 'город Хива'),
(217, 13, 'Do\'stlik shahri', 'Дўстлик шаҳри\r\nДўстлик шаҳри', 'город Дўстлик\r\nДўстлик');
(217, 13, 'Do\'stlik shahri', 'Дўстлик шаҳри\r\nДўстлик шаҳри', 'город Дўстлик\r\nДўстлик'),
(218, 14, 'Yangihayot tumani', 'Янгихаёт тумани', 'Янгихаётский район'),
(219, 13, 'Tuproqqala tumani', 'Тупроққалъа тумани', 'Тироккальский район');

-- --------------------------------------------------------

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Full Database of regions Uzbekistan available in JSON, SQL & CSV Format All
## Formats Available
- JSON
- SQL
- XML (Soon)
- XML (Done)
- PLIST (Soon)
- YAML (Soon)
- CSV
Expand All @@ -23,7 +23,7 @@ Quarters | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white
File | MySQL >= 5.6 | SQL Server >= 2017
:------------ | :-------------| :-------------
regions_mysql.sql | :white_check_mark: | N/A
regionsDB.bak | N/A | :white_check_mark:
UzbekistanDB.bak | N/A | :white_check_mark:

# Database Scheme Diagram

Expand All @@ -32,10 +32,10 @@ regionsDB.bak | N/A | :white_check_mark:

## Insights
Total Regions : 14 <br>
Total Regions/Cities : 200 <br>
Total Regions/Cities : 204 <br>
Total Towns/Districts : 11,184+ <br>

Last Updated On : 15th september 2020
Last Updated On : 29th december 2020

## Notes
```
Expand Down
Loading

0 comments on commit ed6cdcd

Please sign in to comment.