Learn R Programming

SciencesPo (version 1.3.9)

Presidents: The Measure of US Presidents

Description

The US presidents and their main opponents' heights (cm). This dataset contains the following columns:

  • election The election year.
  • winner The winner candidate.
  • winner.height The winner candidate's height in centimeters (cm).
  • winner.vote The popular vote support for the winner.
  • winner.party The winner's party.
  • opponent The main opponent candidate.
  • opponent.height The opponent candidate's height in centimeters (cm).
  • opponent.vote Popular vote support for the main opponent candidate.
  • opponent.party The opponent's party.
  • turnout The electorate turnout in percentages.
  • winner.bmi The winner Body Mass Index (BMI) estimate(BMI = weight in kg/(height in meter)**2)

Usage

data(Presidents)

Arguments

encoding

UTF-8

format

A data.frame object with ncol(SciencesPo::Presidents) variables and nrow(SciencesPo::Presidents) observations.

source

US Presidents: http://www.jimwegryn.com/Names/Presidents.php Inside Gov. http://www.us-presidents.insidegov.com. Wikipedia: http://en.wikipedia.org/wiki/United_States_presidential_election,_2012. Wikipedia:http://en.wikipedia.org/wiki/Heights_of_presidents_and_presidential_candidates_of_the_United_States.