Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d3oxy/country-state-data
A comprehensive JSON dataset containing a hierarchical list of countries and their administrative divisions (states/provinces/regions). This repository provides structured geographical data that can be easily integrated into applications requiring location-based functionality.
https://github.com/d3oxy/country-state-data
Last synced: 5 days ago
JSON representation
A comprehensive JSON dataset containing a hierarchical list of countries and their administrative divisions (states/provinces/regions). This repository provides structured geographical data that can be easily integrated into applications requiring location-based functionality.
- Host: GitHub
- URL: https://github.com/d3oxy/country-state-data
- Owner: D3OXY
- Created: 2024-12-11T09:31:00.000Z (23 days ago)
- Default Branch: main
- Last Pushed: 2024-12-11T09:32:06.000Z (23 days ago)
- Last Synced: 2024-12-11T10:31:27.223Z (23 days ago)
- Size: 250 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Country State Data
A comprehensive JSON dataset containing a hierarchical list of countries and their administrative divisions (states/provinces/regions). This repository provides structured geographical data that can be easily integrated into applications requiring location-based functionality.
## Features
- Complete list of countries with ISO codes
- States/provinces for each country
- Well-structured JSON format
- Easy to integrate
- Regularly maintained and verified data## Data Structure
The repository contains two main JSON files:
1. `countries.json` - List of all countries with their metadata
2. `states.json` - Comprehensive list of states/provinces mapped to their respective countries## Use Cases
- Drop-down menus for location selection
- Address forms
- Location validation
- Geographical data analysis
- Region-based filtering## Contributing
Contributions to keep the data accurate and up-to-date are welcome. Please submit a pull request with any corrections or updates.