senaterace10_tbl_df {usdatasets} | R Documentation |
The dataset name has been changed to 'senaterace10_tbl_df' to avoid confusion with other packages in the R ecosystem. This naming convention helps distinguish this dataset as part of the 'usdatasets' package and identifies it as a tibble. The original content of the dataset has not been modified.
data(senaterace10_tbl_df)
A tibble with 38 observations and 23 variables:
Numeric identifier for the election race.
Character string indicating the U.S. state where the election took place.
Character string representing the state abbreviation.
Character string indicating the name of the first candidate.
Numeric indicating the percentage of votes received by the first candidate.
Character string indicating the party affiliation of the first candidate.
Numeric indicating the total votes received by the first candidate.
Character string indicating the name of the second candidate.
Numeric indicating the percentage of votes received by the second candidate.
Character string indicating the party affiliation of the second candidate.
Numeric indicating the total votes received by the second candidate.
Character string indicating the name of the third candidate.
Numeric indicating the percentage of votes received by the third candidate.
Character string indicating the party affiliation of the third candidate.
Numeric indicating the total votes received by the third candidate.
Character string indicating the name of the fourth candidate.
Numeric indicating the percentage of votes received by the fourth candidate.
Character string indicating the party affiliation of the fourth candidate.
Numeric indicating the total votes received by the fourth candidate.
Character string indicating the name of the fifth candidate.
Numeric indicating the percentage of votes received by the fifth candidate.
Character string indicating the party affiliation of the fifth candidate.
Numeric indicating the total votes received by the fifth candidate.
Data on U.S. Senate races held in 2010, including candidates' names, vote percentages, and party affiliations.