YDA Minimum Unit Delegation to Vote Ratio Calculator
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
index.php
readme.md
state_territory_list.json

readme.md

YDA Minimum Unit Delegation to Vote Ratio Calculator

This is the minimum unit delegation to vote ratio calculator, part of the Young Democrats of America (YDA) chartering and credentials process. It uses the Google Maps API to calculate the mileage between the site of the convention and the state capital or largest city (whichever is furthest) based on Section 370(b) of the YDA Charter (2016). If a state or territory is overseas, the maximum possible amount of votes will be accredited to that unit.

Required fields

You will need a Google Maps Direction and Javascript APIs key

[$key] = Google Calendar API key

You can get the Google Developer APIs at https://console.developers.google.com/

Disclaimer

Please note that this code is API intensive. Google Maps free API quota may be exceeded if used incorrectly.