Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

National power rangers' day data and images! #733

Merged
merged 18 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ If you are using TidyTuesday to teach data-related skills, [please let us know](
| 32 | `2024-08-06` | [Olympic Medals](data/2024/2024-08-06/readme.md) | [Kaggle Olypmic history data](https://www.kaggle.com/heesoo37/120-years-of-olympic-history-athletes-and-results) | [Financial Times Tokyo Olypmics analysis](https://ig.ft.com/tokyo-olympics-alternative-medal-table/) |
| 33 | `2024-08-13` | [World's Fairs](data/2024/2024-08-13/readme.md) | [List of world expositions (Wikipedia)](https://en.wikipedia.org/wiki/List_of_world_expositions) | [World's fair (Wikipedia)](https://en.wikipedia.org/wiki/World%27s_fair) |
| 34 | `2024-08-20` | [English Monarchs and Marriages](data/2024/2024-08-20/readme.md) | [A list of Monarchs by marriage](https://www.ianvisits.co.uk/articles/a-list-of-monarchs-by-marriage-6857/) | [monarchs and marriages](github.com/frankiethull/english_monarch_marriages) |
| 35 | `2024-08-27` | [The Power Rangers Franchise](data/2024/2024-08-27/readme.md) | [Power Rangers: Seasons and episodes data](https://www.kaggle.com/datasets/karetnikovn/power-rangers-dataset/data) | [National Power Rangers Day (August 28)](https://www.nationaldaycalendar.com/national-day/national-power-rangers-day-august-28) |

***

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions data/2024/2024-08-27/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: The Power Rangers Franchise
article:
title: National Power Rangers Day (August 28)
url: https://www.nationaldaycalendar.com/national-day/national-power-rangers-day-august-28
data_source:
title: "Power Rangers: Seasons and episodes data"
url: https://www.kaggle.com/datasets/karetnikovn/power-rangers-dataset/data
images:
# Please include at least one image, and up to three images
- file: National-Power-Rangers-Day.png
alt: National Power Rangers Day Mighty Morphin' Power Rangers
- file: national-power-rangers-day--august-28.png
alt: National Power Rangers Day, August 28, by NationalDayCalendar.com. cartoon representations of the Power Rangers face off against some of their iconic villains.
credit:
# If you do not want a particular type of credit, please delete the related line
post: Tinashe M. Tapera
linkedin: https://www.linkedin.com/in/tinashemtapera

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
923 changes: 923 additions & 0 deletions data/2024/2024-08-27/power_rangers_episodes.csv

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions data/2024/2024-08-27/power_rangers_seasons.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
season_title,season_num,number_of_episodes,air_date_first_ep,air_date_last_ep,producer,IMDB_rating
Mighty Morphin (Season 1),1,60,1993-08-28,1994-05-23,Saban,6.5
Mighty Morphin (Season 2),2,52,1994-07-21,1995-05-20,Saban,6.5
Mighty Morphin (Season 3),3,33,1995-09-02,1995-11-27,Saban,6.5
Zeo,4,50,1996-04-20,1996-11-27,Saban,6.6
Turbo,5,45,1997-04-19,1997-11-24,Saban,5.7
In Space,6,43,1998-02-06,1998-11-21,Saban,7.3
Lost Galaxy,7,45,1999-02-06,1999-12-18,Saban,6.9
Lightspeed Rescue,8,40,2000-02-12,2000-11-18,Saban,6.5
Time Force,9,40,2001-02-03,2001-11-17,Saban,7.1
Wild Force,10,40,2002-02-09,2002-11-16,Saban/Disney,6.3
Ninja Storm,11,38,2003-02-15,2003-11-15,Disney,6.4
Dino Thunder,12,38,2004-02-14,2004-11-20,Disney,6.8
S.P.D.,13,38,2005-02-05,2005-11-14,Disney,6.7
Mystic Force,14,32,2006-02-20,2006-11-13,Disney,6.7
Operation Overdrive,15,32,2007-02-26,2007-11-12,Disney,5.5
Jungle Fury,16,32,2008-02-18,2008-11-03,Disney,6.6
R.P.M.,17,32,2009-03-07,2009-12-26,Disney,6.6
Samurai,18,22,2011-02-07,2011-12-10,Saban Brands,5.1
Super Samurai,19,22,2012-02-18,2012-12-15,Saban Brands,5.1
Megaforce,20,22,2013-02-02,2013-12-07,Saban Brands,5.7
Super Megaforce,21,20,2014-02-15,2014-11-22,Saban Brands,5.7
Dino Charge,22,22,2015-02-07,2015-12-12,Saban Brands,6.5
Dino Super Charge,23,22,2016-01-30,2016-12-10,Saban Brands,6.5
Ninja Steel,24,22,2017-01-21,2017-12-01,Saban Brands,6
Super Ninja Steel,25,22,2018-01-27,2018-12-01,Saban Brands,6
Beast Morphers (Season 1),26,22,2019-03-02,2019-12-14,Saban Brands,6.8
Beast Morphers (Season 2),27,22,2020-02-22,2020-12-12,Saban Brands,6.8
Dino Fury,28,44,2021-09-13,2022,Saban Brands,6.8
82 changes: 82 additions & 0 deletions data/2024/2024-08-27/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# The Power Rangers Franchise

This week's dataset comes from Kaggle's [Power Rangers Dataset](https://www.kaggle.com/datasets/karetnikovn/power-rangers-dataset/data)!

> In 1993, five ordinary teenagers exploded on the pop-culture scene with the launch of Mighty Morphin Power Rangers. Together they broke down barriers. They defeated evil by demonstrating teamwork, inclusivity, and diversity to people of all ages. Today, this grand tradition continues as new Ranger teams and new generations of fans discover these essential values again.
The series, created by Haim Saban, has one of the most popular taglines in history, "It's Morphin Time!" The TV series "Mighty Morphin Power Rangers" (MMPR) launched on August 28, 1993. Power Rangers quickly became the #1 kids action brand and a global phenomenon. With its current 25th season, "Power Rangers Super Ninja Steel," the show is now the second-longest-running, non-soap-opera, scripted program on American TV (after "The Simpsons"). There are also over 830 episodes in its library. Currently, Power Rangers is seen in more than 150 markets around the world. It's also translated into numerous languages and is a favorite on many indispensable children's programming blocks around the world. Go Go Power Rangers on 8.28!

Source: [NationalDayCalendar.com](https://www.nationaldaycalendar.com/national-day/national-power-rangers-day-august-28)

What can you and your data analysis skills tell us about the Power Rangers' Franchise?

What were the most popular seasons? Which season of rangers lasted the longest on screen? Which was your favourite ranger and why?

Thank you to Tinashe M. Tapera for curating this week's dataset.

## The Data

```r
# Option 1: tidytuesdayR package
## install.packages("tidytuesdayR")

tuesdata <- tidytuesdayR::tt_load('2024-08-27')
## OR
tuesdata <- tidytuesdayR::tt_load(2024, week = 35)

power_rangers_episodes <- tuesdata$power_rangers_episodes
power_rangers_seasons <- tuesdata$power_rangers_seasons

# Option 2: Read directly from GitHub

power_rangers_episodes <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2024/2024-08-27/power_rangers_episodes.csv')
power_rangers_seasons <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2024/2024-08-27/power_rangers_seasons.csv')
```

## How to Participate

- [Explore the data](https://r4ds.hadley.nz/), watching out for interesting relationships. We would like to emphasize that you should not draw conclusions about **causation** in the data. There are various moderating variables that affect all data, many of which might not have been captured in these datasets. As such, our suggestion is to use the data provided to practice your data tidying and plotting techniques, and to consider for yourself what nuances might underlie these relationships.
- Create a visualization, a model, a [shiny app](https://shiny.posit.co/), or some other piece of data-science-related output, using R or another programming language.
- [Share your output and the code used to generate it](../../../sharing.md) on social media with the #TidyTuesday hashtag.
- [Submit your own dataset!](../../../.github/pr_instructions.md)

### Data Dictionary

# `power_rangers_episodes.csv`

|variable |class |description |
|:-------------|:---------|:-------------|
|season_title |character |title of the overall season |
|episode_num |double |number of this episode within this season |
|episode_title |character |title of this episode |
|air_date |double |date on which this episode first aired in the U.S. |
|IMDB_rating |double |average rating among IMDB users |
|total_votes |double |total votes on IMDB |
|desc |character |free-text description of this episode |

# `power_rangers_seasons.csv`

|variable |class |description |
|:------------------|:---------|:------------------|
|season_title |character |title of this season |
|season_num |double |season number |
|number_of_episodes |double |number of episodes in this season |
|air_date_first_ep |double |date on which the first episode in this season first aired in the U.S. |
|air_date_last_ep |character |date on which the last episode in this season first aired in the U.S. |
|producer |character |the company that produced this season |
|IMDB_rating |double |average rating of this seasons among IMDB users |

### Cleaning Script

```r
library(tidyverse)
# source for seasons
"https://www.kaggle.com/datasets/karetnikovn/power-rangers-dataset/data"

# Source for episodes
"https://www.kaggle.com/datasets/karetnikovn/power-rangers-dataset/data"

power_rangers_seasons <- readr::read_csv("data/curated/power_rangers/seasons.csv")

power_rangers_episodes <- readr::read_csv("data/curated/power_rangers/episodes.csv") %>%
mutate(air_date = mdy(air_date))
```
1 change: 1 addition & 0 deletions data/2024/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ Archive of datasets and articles from the 2024 series of `#TidyTuesday` events.
| 32 | `2024-08-06` | [Olympic Medals](2024-08-06/readme.md) | [Kaggle Olypmic history data](https://www.kaggle.com/heesoo37/120-years-of-olympic-history-athletes-and-results) | [Financial Times Tokyo Olypmics analysis](https://ig.ft.com/tokyo-olympics-alternative-medal-table/) |
| 33 | `2024-08-13` | [World's Fairs](2024-08-13/readme.md) | [List of world expositions (Wikipedia)](https://en.wikipedia.org/wiki/List_of_world_expositions) | [World's fair (Wikipedia)](https://en.wikipedia.org/wiki/World%27s_fair) |
| 34 | `2024-08-20` | [English Monarchs and Marriages](2024-08-20/readme.md) | [A list of Monarchs by marriage](https://www.ianvisits.co.uk/articles/a-list-of-monarchs-by-marriage-6857/) | [monarchs and marriages](github.com/frankiethull/english_monarch_marriages) |
| 35 | `2024-08-27` | [The Power Rangers Franchise](2024-08-27/readme.md) | [Power Rangers: Seasons and episodes data](https://www.kaggle.com/datasets/karetnikovn/power-rangers-dataset/data) | [National Power Rangers Day (August 28)](https://www.nationaldaycalendar.com/national-day/national-power-rangers-day-august-28) |
2 changes: 2 additions & 0 deletions static/tt_data_type.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Week,Date,year,data_files,data_type,delim
35,2024-08-27,2024,power_rangers_episodes.csv,csv,","
35,2024-08-27,2024,power_rangers_seasons.csv,csv,","
34,2024-08-20,2024,english_monarchs_marriages_df.csv,csv,","
33,2024-08-13,2024,worlds_fairs.csv,csv,","
32,2024-08-06,2024,olympics.csv,csv,","
Expand Down