“Could someone explain how it is known who leads in early voting?”
A couple of Elections officials talked about that on Fox. Nobody actually knows who leads. They do know who has cast ballots — it’s public information. They then match those names (voter info is also public information) to the declared parties and do a WAG. They assume voters cast ballots for the guy in their declared party.
That’s actually on average a pretty reasonable guess.