Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afrith/language-diversity-index
SQL for calculating language diversity index over hexagonal grid in PostGIS
https://github.com/afrith/language-diversity-index
Last synced: 28 days ago
JSON representation
SQL for calculating language diversity index over hexagonal grid in PostGIS
- Host: GitHub
- URL: https://github.com/afrith/language-diversity-index
- Owner: afrith
- License: mit
- Created: 2017-08-09T12:05:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-09T12:26:25.000Z (over 7 years ago)
- Last Synced: 2024-11-14T15:45:55.330Z (3 months ago)
- Language: PLpgSQL
- Size: 2.93 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linguistic diversity index
This repository contains the SQL code used to calculate the linguistic diversity index data used to produce the map below.
More details in [my blog post](https://adrianfrith.com/linguistic-diversity/).
To run it you will need to download the following data files:* [`south-africa.zip`](https://stuff.adrianfrith.com/south-africa.zip): shapefile of South Africa
* [`SAL_APRI.zip`](https://stuff.adrianfrith.com/SAL_APRI.zip): shapefile of "small areas" from Census 2011
* [`sal-lang.csv`](https://stuff.adrianfrith.com/sal-lang.csv): language statistics for the small areas![Linguistic diversity map of South Africa](https://adrianfrith.com/images/linguistic-diversity.png)