Finalize dropped albums list with correct 8 albums and balance new albums
- Corrected dropped albums to exactly 8 albums through detailed comparison analysis - Updated dropped albums list (ranks 501-508) with proper albums that were truly removed - Fixed "New in 2023" markings to show only 8 albums (balancing the 8 dropped) - Downloaded cover art for all 8 dropped albums - Removed incorrect cover art files for albums that weren't actually dropped - Updated data files with corrected artist/album name formatting for accurate matching 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e64b267ee3
commit
88a6434132
31 changed files with 1082 additions and 217 deletions
32
scripts/create_2020_simplified.py
Normal file
32
scripts/create_2020_simplified.py
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#!/usr/bin/env python3
|
||||
"""
|
||||
Create a simplified version of the 2020 Rolling Stone data with only Rank, Artist, and Album columns.
|
||||
"""
|
||||
|
||||
import csv
|
||||
|
||||
def main():
|
||||
# Read the original 2020 CSV and extract only needed columns
|
||||
simplified_albums = []
|
||||
|
||||
with open('rolling_stone_top_500_albums_2020.csv', 'r', encoding='utf-8') as file:
|
||||
reader = csv.DictReader(file)
|
||||
for row in reader:
|
||||
simplified_albums.append({
|
||||
'Rank': row['Rank'],
|
||||
'Artist': row['Artist'],
|
||||
'Album': row['Album']
|
||||
})
|
||||
|
||||
# Write simplified CSV
|
||||
with open('rolling_stone_2020_simplified.csv', 'w', newline='', encoding='utf-8') as file:
|
||||
fieldnames = ['Rank', 'Artist', 'Album']
|
||||
writer = csv.DictWriter(file, fieldnames=fieldnames)
|
||||
writer.writeheader()
|
||||
writer.writerows(simplified_albums)
|
||||
|
||||
print(f"✅ Created simplified 2020 CSV with {len(simplified_albums)} albums")
|
||||
print(f"📁 Saved as: rolling_stone_2020_simplified.csv")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue