basically i have this java assignment in which I need to take the following text file: https://drive.google.com/file/d/1NqWtApSHovOfSXzVCeU_GPtsCo_m6ZtJ/view?usp=sharing
The legend for the text file is here: E: did the elector result in promotion (1) or not (0) T: time election was closed U: user id (and screen name) of editor that is being considered for promotion N: user id (and screen name) of the nominator
V: vote(1:support, 0:neutral, -1:oppose), user id, time, screen_name
And create the following two methods:
Given a user id, output the total number of times the user has voted to support or be neutral or oppose the candidate considered for promotion for all people the user has voted for collectively in all the elections.
Given a user id considered for promotion, output the user id and screen name of the nominator. For multiple nominations, you will output all nominators. If the user is not nominated ever, output an appropriate message.
I'm really lost on how I should go about splitting the text file into pieces to help me obtain the information needed to create the two methods. Any insight would really be great