Implement filtering code for Landslide Winning zones
5. เขตที่ชนะขาด
เขตที่คะแนนของผู้สมัครอันดับ 1 ห่างจากอับดับ 2 เกิน 50%
This is a dynamic filter that filter zones depending on their performances.

I'm trying out this issue. Will report back in 1-2 hours.
Question: I looked at #22 and I suppose this filter should be derived the same way, so...
- The information should be derived from https://www.ect.go.th/ect_th/ewt_dl_link.php?nid=2236 ?
- The link above contains only the results separated by constituency seats and party list seats. Should I use either of them or combined?
- I guess there's already machine-readable data somewhere? 😅
Thanks!
Looks like there's not enough information to derive this based on the available fixtures.
I'm backing down from this issue.
I think this has to be implemented by filtering the live results?
Looking through src/models/ElectionDataSource.d.ts it seems that the only place where each candidate score is available is through PerProvinceJSON, which we can't use for filtering. There should be a server side filter to add this information to ZoneStats first
You are right. I believe @phoneee is working on it.