Datasets:
Add Australian Geographic Correspondence Dataset
Browse files- Master correspondence table: 95,674 records linking POA↔LGA↔SA2↔Branch
- Complete ABS ASGS Edition 3 spatial intersections with weights
- HCF branch catchments: 9 locations with 15km service areas
- Multiple formats: Parquet (efficient) and CSV (compatible)
- Comprehensive documentation and usage examples
Dataset enables feature aggregation across Australian geographic hierarchies.
Built with real ABS data using modern spatial processing.
Files:
- master_correspondence_table.parquet (271KB) - Recommended format
- master_correspondence_table.csv (11MB) - CSV format via Git LFS
- branch_catchments.parquet (38KB) - HCF service areas
- branch_catchments.csv (38KB) - HCF service areas CSV
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
- .gitattributes +1 -0
- README.md +152 -0
- branch_catchments.csv +3 -0
- branch_catchments.parquet +3 -0
- master_correspondence_table.csv +3 -0
- master_correspondence_table.parquet +3 -0
|
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.csv filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- feature-extraction
|
| 5 |
+
- tabular-classification
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- geography
|
| 10 |
+
- australia
|
| 11 |
+
- correspondence
|
| 12 |
+
- spatial-data
|
| 13 |
+
- abs
|
| 14 |
+
- government
|
| 15 |
+
size_categories:
|
| 16 |
+
- 10K<n<100K
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Australian Geographic Correspondence Table (ABS ASGS Edition 3)
|
| 20 |
+
|
| 21 |
+
A comprehensive correspondence table linking Australian geographic hierarchies (POA ↔ LGA ↔ SA2 ↔ Branch Catchments) built using real Australian Bureau of Statistics (ABS) data.
|
| 22 |
+
|
| 23 |
+
## Dataset Description
|
| 24 |
+
|
| 25 |
+
This dataset provides complete spatial correspondence relationships between different levels of the Australian Statistical Geography Standard (ASGS) Edition 3, enabling accurate feature aggregation and geographic analysis across Australia.
|
| 26 |
+
|
| 27 |
+
### What's Included
|
| 28 |
+
|
| 29 |
+
- **Master Correspondence Table**: 95,674 records linking POA, LGA, SA2, and HCF branch catchments
|
| 30 |
+
- **Branch Catchments**: 9 unique HCF service areas with 15km radius coverage
|
| 31 |
+
- **Spatial Weights**: Area-based intersection ratios for accurate data aggregation
|
| 32 |
+
- **Geographic Coverage**: Complete national coverage of Australian boundaries
|
| 33 |
+
|
| 34 |
+
## Files
|
| 35 |
+
|
| 36 |
+
| File | Records | Size | Description |
|
| 37 |
+
|------|---------|------|-------------|
|
| 38 |
+
| `master_correspondence_table.parquet` | 95,674 | 271KB | Main correspondence table (recommended) |
|
| 39 |
+
| `master_correspondence_table.csv` | 95,674 | 11MB | Main correspondence table (CSV format) |
|
| 40 |
+
| `branch_catchments.parquet` | 9 | 38KB | HCF branch service areas |
|
| 41 |
+
| `branch_catchments.csv` | 9 | 38KB | HCF branch service areas (CSV format) |
|
| 42 |
+
|
| 43 |
+
## Schema
|
| 44 |
+
|
| 45 |
+
### Master Correspondence Table
|
| 46 |
+
|
| 47 |
+
| Column | Type | Description |
|
| 48 |
+
|--------|------|-------------|
|
| 49 |
+
| `poa_code` | string | 4-digit Postal Area code |
|
| 50 |
+
| `poa_name` | string | Postal Area name |
|
| 51 |
+
| `lga_code` | string | 5-digit Local Government Area code |
|
| 52 |
+
| `lga_name` | string | Local Government Area name |
|
| 53 |
+
| `sa2_code` | string | 9-digit Statistical Area Level 2 code |
|
| 54 |
+
| `sa2_name` | string | Statistical Area Level 2 name |
|
| 55 |
+
| `branch_id` | string | Unique branch identifier (null if >15km from any branch) |
|
| 56 |
+
| `branch_name` | string | HCF branch facility name (null if >15km from any branch) |
|
| 57 |
+
| `branch_type` | string | "Dental" or "Eyecare" (null if >15km from any branch) |
|
| 58 |
+
| `branch_lat` | float | Branch latitude (null if >15km from any branch) |
|
| 59 |
+
| `branch_long` | float | Branch longitude (null if >15km from any branch) |
|
| 60 |
+
| `poa_to_lga_weight` | float | Area-weighted intersection ratio (0-1) |
|
| 61 |
+
| `lga_to_sa2_weight` | float | Area-weighted intersection ratio (0-1) |
|
| 62 |
+
| `catchment_overlap_pct` | float | % of catchment overlapping with area (0 if >15km) |
|
| 63 |
+
| `distance_to_branch_km` | float | Distance from area centroid to nearest branch (0 if >15km) |
|
| 64 |
+
| `record_type` | string | "geographic_only" or "master_correspondence" |
|
| 65 |
+
|
| 66 |
+
## Geographic Coverage
|
| 67 |
+
|
| 68 |
+
- **2,644 POA boundaries** (Postal Areas) - ABS 2021 data
|
| 69 |
+
- **566 LGA boundaries** (Local Government Areas) - ABS 2022 data
|
| 70 |
+
- **2,473 SA2 boundaries** (Statistical Area Level 2) - ABS 2021 data
|
| 71 |
+
- **9 HCF branch catchments** (15km radius service areas)
|
| 72 |
+
|
| 73 |
+
## Use Cases
|
| 74 |
+
|
| 75 |
+
### Feature Aggregation
|
| 76 |
+
```python
|
| 77 |
+
import pandas as pd
|
| 78 |
+
|
| 79 |
+
# Load correspondence table
|
| 80 |
+
corr = pd.read_parquet('master_correspondence_table.parquet')
|
| 81 |
+
|
| 82 |
+
# Aggregate postcode-level data to LGA level
|
| 83 |
+
postcode_data = pd.read_csv('your_postcode_data.csv')
|
| 84 |
+
lga_aggregated = postcode_data.merge(corr, left_on='postcode', right_on='poa_code') \
|
| 85 |
+
.groupby('lga_code').agg({
|
| 86 |
+
'population': 'sum',
|
| 87 |
+
'income': lambda x: np.average(x, weights=corr.loc[x.index, 'poa_to_lga_weight'])
|
| 88 |
+
})
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
### Service Area Analysis
|
| 92 |
+
```python
|
| 93 |
+
# Find all areas within HCF branch catchments
|
| 94 |
+
branch_areas = corr[corr['branch_id'].notna()]
|
| 95 |
+
coverage_by_branch = branch_areas.groupby('branch_name').agg({
|
| 96 |
+
'sa2_code': 'count',
|
| 97 |
+
'catchment_overlap_pct': 'mean'
|
| 98 |
+
})
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
## Data Quality
|
| 102 |
+
|
| 103 |
+
- **Spatial Accuracy**: Built using official ABS ASGS Edition 3 boundaries
|
| 104 |
+
- **Coverage**: 100% coverage of Australian POA, LGA, and SA2 areas
|
| 105 |
+
- **Validation**: Comprehensive geometric and topological validation
|
| 106 |
+
- **Weights**: Area-based intersection calculations for precise aggregation
|
| 107 |
+
|
| 108 |
+
## Source Data
|
| 109 |
+
|
| 110 |
+
- **ABS ASGS Edition 3**: Australian Statistical Geography Standard digital boundaries
|
| 111 |
+
- **POA 2021**: Postal Area boundaries (GDA2020 coordinate system)
|
| 112 |
+
- **LGA 2022**: Local Government Area boundaries (GDA2020 coordinate system)
|
| 113 |
+
- **SA2 2021**: Statistical Area Level 2 boundaries (GDA2020 coordinate system)
|
| 114 |
+
|
| 115 |
+
## Methodology
|
| 116 |
+
|
| 117 |
+
1. **Data Download**: Automated download of official ABS shapefiles
|
| 118 |
+
2. **Spatial Processing**: Geometric intersection calculations using GeoPandas
|
| 119 |
+
3. **Weight Calculation**: Area-based ratios for accurate feature aggregation
|
| 120 |
+
4. **Catchment Generation**: 15km radius buffers in Australian Albers projection
|
| 121 |
+
5. **Validation**: Comprehensive quality checks and coverage analysis
|
| 122 |
+
|
| 123 |
+
## License
|
| 124 |
+
|
| 125 |
+
This dataset is licensed under the MIT License. The underlying ABS data is available under Creative Commons Attribution 4.0 International License.
|
| 126 |
+
|
| 127 |
+
## Citation
|
| 128 |
+
|
| 129 |
+
```bibtex
|
| 130 |
+
@dataset{hcf_abs_correspondence_2024,
|
| 131 |
+
title={Australian Geographic Correspondence Table (ABS ASGS Edition 3)},
|
| 132 |
+
author={HCF Data Science Team},
|
| 133 |
+
year={2024},
|
| 134 |
+
publisher={Hugging Face},
|
| 135 |
+
url={https://huggingface.co/datasets/massomo/abscorrespondance}
|
| 136 |
+
}
|
| 137 |
+
```
|
| 138 |
+
|
| 139 |
+
## Technical Details
|
| 140 |
+
|
| 141 |
+
- **Built with**: Python, GeoPandas, Shapely, PyProj
|
| 142 |
+
- **Coordinate Systems**: WGS84 (EPSG:4326) and Australian Albers (EPSG:3577)
|
| 143 |
+
- **Processing**: Spatial intersection, area calculation, distance analysis
|
| 144 |
+
- **Export**: Parquet and CSV formats with comprehensive metadata
|
| 145 |
+
|
| 146 |
+
## Contact
|
| 147 |
+
|
| 148 |
+
For questions about this dataset or the underlying methodology, please refer to the source repository or open an issue on the project GitHub page.
|
| 149 |
+
|
| 150 |
+
---
|
| 151 |
+
|
| 152 |
+
*Generated using the Master Correspondence Table Builder - a modern Python replacement for legacy SAS Enterprise Guide geographic workflows.*
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4b29705cf5fe9451b5cf4a818f02b3eaa3a9fa5fcc685d0fa88fe226cd79900
|
| 3 |
+
size 38512
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e671cd29e6ab78e6c8ddaf7e7bc1dfdc5be8847397838f870bfd335f9d71e3b2
|
| 3 |
+
size 39183
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df823555a408de1ce0fe90af16a7e7c07d96c9abd4edf10d79b1a0b1468d4bac
|
| 3 |
+
size 11365436
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6f2eb58ceba119bc399dbb758728f59bc17d9ccde1b636a83156923aa48e0db
|
| 3 |
+
size 277194
|