https://github.com/elgarteo/dce_2019
2019 HK District Council Election Map 2019年區議會選舉結果黃藍選民分佈圖
https://github.com/elgarteo/dce_2019
district-council election election-analysis hongkong leaflet-map politics
Last synced: 6 months ago
JSON representation
2019 HK District Council Election Map 2019年區議會選舉結果黃藍選民分佈圖
- Host: GitHub
- URL: https://github.com/elgarteo/dce_2019
- Owner: elgarteo
- Created: 2019-12-01T14:55:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-23T17:27:25.000Z (over 6 years ago)
- Last Synced: 2025-06-05T15:47:51.955Z (about 1 year ago)
- Topics: district-council, election, election-analysis, hongkong, leaflet-map, politics
- Language: HTML
- Homepage: https://elgarteo.github.io/dce_2019/dce_2019.html
- Size: 4.86 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2019 District Council Election Map
Interactive map of proportion of pro-democracy voters in 2019 Hong Kong District Council Election
2019年區議會選舉結果黃藍選民分佈圖
View map [here](https://elgarteo.github.io/dce_2019/dce_2019.html)
## What it does
The R script generates a map that shows the proportion of pro-democracy voters in each constituency with
varying depth of yellow and blue. The more yellowish indicate higher proportion of pro-democracy voters, and vice versa.
## What you need
* [Shapefile](https://accessinfo.hk/en/request/shapefileshp_for_2019_district_c) of the 2019 DCCA
(kudos to [accessinfo.hk](https://accessinfo.hk))
* [helixcn/HK80](https://github.com/helixcn/HK80)
The R script automatically fetches the constituency details and election result from the json database file of
the Stands News' election site.
All other packages are obtainable from CRAN.
## References
The political classification of candidates is based on the Stands News' [election site](https://dce2019.thestandnews.com/).
The function to implement the shapefile in R is taking reference to [stanyip/DC2015](https://github.com/stanyip/DC2015).