DRAGnet (10 Part Series)
Rails + React + Redux - Pt 6
This post is going to revisit the get_seasons and get_appearances method with the most complex aspect of the scrape so far, the condensed and transformed ranks of each queen in each episode.
Let's get started!
1. Revisit get_seasons in season.rb to scrape, clean, and transform the ranks of each episode per queen and store them in the episode for use in get_appearances.
2. Revisit get_appearances in appearance.rb to instantiate each and every appearance with the queens numerical rank for that episode.
I'd love to refactor the get_XXXX methods from the previous posts as soon as possible, but I may move on to some UI in my post next week!