A municipal general election is vastly different from a US Federal election for President.

If it were run the same way, Trump would not be President. But it is run in an entirely different fashion, so your analogy does not hold....