8000 GitHub - candlergrimes/elections
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

candlergrimes/elections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

elections

Inputs

  • 538 Poll List
  • Custom Crosstabs: manual data entry using the link to sources in the 538 poll CSV.

Objects

Data Prep:

  • polls: joins the 538 polls and the custom crosstabs
  • diff: computes the party-wise advantage in each poll (DEM - REP)
  • undecided: computes the proportion of 3rd party, undecided and refused groups (100 - (DEM + REP))
  • averages: placeholder object used to compute mean diff + undecided values for each state.
  • counts: placeholder object used to compute count of crosstab values (i.e. # of results for pct_black) voters. Used to indicate small sample sizes.

Outputs:

  • diff_output.csv: list of states with average party-wise advantages (and counts) for each crosstab
  • undecided_output.csv: list of states with proportions (and counts) of non-REP/DEM voters for each crosstab
    • NOTE: This includes 3rd party voters, so "undecided" isn't a great term...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0