Welcome to the GeoThai Analyzer repository! ๐๐ This toolset is designed to integrate, analyze, and visualize Thailandโs geographic data, from provinces to subdistricts. It is perfect for developers, GIS professionals, and anyone interested in Thailand's geography.
With this repository, you can:
- Integrate various geographic datasets into a unified structure.
- Analyze relationships between different geographic levels, such as the number of districts per province.
- Visualize the data through various plots and maps to gain insights.
Here are some visualizations you can create using this repository:
Bar chart showing the number of districts per province.
Pie chart displaying the distribution of subdistricts in selected districts of Bangkok.
To use this repository, follow these steps:
-
Clone the repository:
git clone https://github.com/GeoThai/analyzer.git cd analyzer
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the integration script:
python scripts/integrate_data.py
This will generate an integrated dataset saved in
data/integrated_data.json
. -
Analyze the data:
python scripts/analyze_data.py
This script will output key insights about the number of districts per province and subdistricts per district.
-
Visualize the data:
python scripts/visualize_data.py
This will generate various visualizations such as bar charts, pie charts, and geographic maps.
This script analyzes the geographic data to extract meaningful insights:
- Districts per Province: Counts the number of districts in each province.
- Subdistricts per District: Counts the number of subdistricts in each district.
- Key Findings: Identifies the province with the most districts and the district with the most subdistricts.
This script integrates geographic data across different levels:
- Combines provinces, districts, and subdistricts into a single JSON file.
- The output is a hierarchical data structure useful for advanced analysis and visualization.
This script generates visual representations of the integrated data:
- Bar Charts: Display the number of districts per province.
- Pie Charts: Show the distribution of subdistricts in selected districts.
We welcome contributions to enhance this project. Please read the CONTRIBUTING.md for guidelines on how to contribute.
This project is licensed under the MIT License. See the LICENSE file for more details.
For questions, issues, or suggestions, feel free to open an issue or contact us at pyyupsk@proton.me.
Happy analyzing! ๐บ๏ธ๐