code: public Elections getElectionByYearState(String year) throws VoteSmartException, VoteSmartErrorException {
  		return api.query("Election.getElectionByYearState", new ArgMap("year", year), Elections.class );
  	}
docs: This method grabs district basic election data according to year and stateid.
  
  @param year
  @return {@link Elections}