Learn R Programming

mapping (version 1.4.1)

usa_election: Usa Election

Description

2008 and 2016 Usa presidential election

Usage

data("usa_election")

Arguments

Format

A data frame with 51 observations on the following 19 variables.

state_id

a character vector

electoral_votes_obama

a numeric vector

electoral_votes_mccain

a numeric vector

votes_obama

a numeric vector

votes_mccain

a numeric vector

votes_others_08

a numeric vector

total_votes_08

a numeric vector

electoral_votes_trump

a numeric vector

electoral_votes_clinton

a numeric vector

votes_trump

a numeric vector

votes_clinton

a numeric vector

votes_others_16

a numeric vector

total_votes_16

a numeric vector

total_popolation_08

a numeric vector

total_citizen_08

a numeric vector

total_registered_08

a numeric vector

total_popolation_16

a numeric vector

total_citizen_16

a numeric vector

total_registered_16

a numeric vector

Examples

Run this code
data(usa_election)
str(usa_election)

Run the code above in your browser using DataLab