Easy App CSV

0 comments

Hi guys, thank you in advance for the help that you give me, I’ll explain my situation.

I comed from Android but I’m a newbie in programming in general.

I am now in contact with Java.

I have to develop an app that given as input a CSV file with 6 fields such as fact:

Keyword, Competitor, Search Engine, Position, Web Page, Changes,

beer, 27300000, Google Universal Italy, 1, http:/it.wikipedia.org/wiki/Birra, +,  

beer, 27300000, Google Universal Italy, 2, http:/www.birra.it, +,  

beer, 27300000, Google Universal Italy, 3, http:/www.albanesi.it/, +  

ale, 7300000, Google Universal Italy, 1, http:/it.wikipedia.org/wiki/Birra, +,  

ale, 7300000, Google Universal Italy, 2, http:/www.yahoo.it, +,  

ale, 7300000, Google Universal Italy, 3, http:/www.ciao.it, +  

dark beer, 300000, Google Universal Italy, 1, http:/www.birra.it, +,  

dark beer, 300000, Google Universal Italy, 2, http:/www.wikipedia.it, +,  

dark beer, 300000, Google Universal Italy, 3, http:/www.yahoo.it, +

First parse the csv file and then I have to do a ranking by assigning a score to each site based on the position he occupies for each keyword.

In this case, for example, by assigning to the first position 3 points, 2 points to the second position, and the 3 position 3 points, the ranking is as follows:

wikipedia: 8 points ( 3 beer + 3 ale + 2 dark beer)

birra: 5 points (2 beer + 3 dark beer)

yahoo: 3 points (2 ale + 1 dark beer)

albanesi: 1 point

ciao: 1 point

The output file with the ranking must be CSV.

I hope I was clear enough and thank you again.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}