public ElectionByZip getElectionByZip ( String zip5 ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "Election.getElectionByZip" , new ArgMap ( "zip5" , zip5 ) , ElectionByZip . class ) ; }
This method grabs district basic election data according to zip code .