Learn R Programming

openintro (version 2.4.0)

oscars: Oscar winners, 1929 to 2018

Description

Best actor and actress Oscar winners from 1929 to 2018

Usage

oscars

Arguments

Format

A data frame with 182 observations on the following 10 variables.

oscar_no

Oscar ceremony number.

oscar_yr

Year the Oscar ceremony was held.

award

Best actress or Best actor.

name

Name of winning actor or actress.

movie

Name of movie actor or actress got the Oscar for.

age

Age at which the actor or actress won the Oscar.

birth_pl

US State where the actor or actress was born, country if foreign.

birth_date

Birth date of actor or actress.

birth_mo

Birth month of actor or actress.

birth_d

Birth day of actor or actress.

birth_y

Birth year of actor or actress.

Details

Although there have been only 84 Oscar ceremonies until 2012, there are 85 male winners and 85 female winners because ties happened on two occasions (1933 for the best actor and 1969 for the best actress).

Examples

Run this code

library(ggplot2)
library(dplyr)

ggplot(oscars, aes(x = award, y = age)) +
  geom_boxplot()

ggplot(oscars, aes(x = factor(birth_mo))) +
  geom_bar()

oscars %>%
  count(birth_pl, sort = TRUE)

Run the code above in your browser using DataLab