CSAllenISD / 2023-ISP-iStudy

1 stars 1 forks source link

Create a Javascript file that parses topTracks.csv, into arrays. #13

Open shariq-h opened 1 year ago

shariq-h commented 1 year ago

Each song should have an individual array, with objects with the UNIX time (use to not from) and rank. Also, we need a way to store song data (title, artist, url, etc.)

Example: const songName = [ {date: '1678622400', rank:1} {date: '1679227200', rank:2} {date: '1679832000', rank:7} {date: '1680436800', rank:10} ]

shariq-h commented 1 year ago

Possible solution const songData = [ {date: '1678622400', rank:1} {date: '1679227200', rank:2} {date: '1679832000', rank:7} {date: '1680436800', rank:10} ] Song = [songData, artist, url]