Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkearney/presidential_election_county_results_2016
🏁 presidential_election_county_results_2016
https://github.com/mkearney/presidential_election_county_results_2016
2016-election dataset election-data mkearney-dataset presidential-election
Last synced: about 1 month ago
JSON representation
🏁 presidential_election_county_results_2016
- Host: GitHub
- URL: https://github.com/mkearney/presidential_election_county_results_2016
- Owner: mkearney
- Created: 2016-11-10T22:01:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-03T16:37:14.000Z (almost 7 years ago)
- Last Synced: 2024-08-12T03:06:39.824Z (4 months ago)
- Topics: 2016-election, dataset, election-data, mkearney-dataset, presidential-election
- Language: R
- Homepage:
- Size: 2.7 MB
- Stars: 60
- Watchers: 9
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "",
fig.path = "README-"
)
```# presidential_election_county_results_2016
presidential_election_county_results_2016tidy election results updated 11/13/2016
the two files are identical. different names provided for continuity.
***UPDATED JAN 3, 2018***
## Data
Find the most up-to-date version of the data as a CSV or RDS (R data file) in the data directory.
### Long format
[Long format as .csv](data/pres.elect16.results.2018.csv): ./data/pres.elect16.results.2018.csv
```{r}
## long format CSV
readr::read_csv("data/pres.elect16.results.2018.csv")
```[Long format as .rds](data/pres.elect16.results.2018.rds): ./data/pres.elect16.results.2018.rds
```{r}
## wide vote share data RDS
readr::read_rds("data/pres.elect16.results.2018.rds")
```## Wide format - vote share
[Wide format vote share in
.csv](data/pres.elect16.results.wide.pct.2018.csv): ./data/pres.elect16.results.wide.pct.2018.csv```{r}
## wide vote share data CSV
readr::read_csv("data/pres.elect16.results.wide.pct.2018.csv")
```[Wide format vote share in
.rds](data/pres.elect16.results.wide.pct.2018.rds): ./data/pres.elect16.results.wide.pct.2018.rds```{r}
## wide vote share data RDS
readr::read_rds("data/pres.elect16.results.wide.pct.2018.rds")
```## Wide Format - total votes
[Wide format total votes in
.csv](data/pres.elect16.results.wide.votes.2018.csv): ./data/pres.elect16.results.wide.pct.2018.csv```{r}
## wide vote totals data CSV
readr::read_csv("data/pres.elect16.results.wide.votes.2018.csv")
```[Wide format total votes in
.rds](data/pres.elect16.results.wide.votes.2018.rds): ./data/pres.elect16.results.wide.pct.2018.rds```{r}
## wide vote share data RDS
readr::read_rds("data/pres.elect16.results.wide.votes.2018.rds")
```