An open API service indexing awesome lists of open source software.

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年區議會選舉結果黃藍選民分佈圖

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).