kuriwaki / cces_candidates

Code and documentation for a standardized dataset of candidates
https://www.doi.org/10.7910/DVN/DGDRDT
4 stars 0 forks source link

Runoffs and special elections are uniquely identifiable and documented #6

Closed jcha1997 closed 3 years ago

jcha1997 commented 3 years ago

Issue already resolved

kuriwaki commented 3 years ago

Is Jon Osoff's Senate pre-runoff November election in the data? I only get

> jsdat_all <- read_dta("data/snyder/2021-07-29 sen_gov_house_2006_2020.dta")
> jsdat_all %>% filter(str_detect(name, "OSSOFF"))
# A tibble: 2 × 12
  state  year office  dist type  nextup party name          inc   vote_g   w_g   u_g
  <chr> <dbl> <chr>  <dbl> <chr>  <dbl> <chr> <chr>       <dbl>    <dbl> <dbl> <dbl>
1 GA     2017 H          6 S       2018 D     OSSOFF, JON     0   125517     0     0
2 GA     2020 S          2 G       2026 D     OSSOFF, JON     0 22269923     1     0

where the 2.22 million vote count is the runoff result. He got 2.37 million votes in the November election.

Also, an ambiguous issue is what the "year" should be in a case like Osoff's runoff. It was technically in January 2021, but it is a runoff for the "2020 cycle". I'm inclined to code it as 2020 since that's the substantive grouping.

kuriwaki commented 3 years ago
jcha1997 commented 3 years ago

I put the section about including deciding races and no pre-runoff races in the runoff variable in the guide. Let me know if you think that is an appropriate place for this.

kuriwaki commented 3 years ago

e0799ff6b01065e68c7a59fdee352bfde2308a5c looks good. I usually like to add an example (e.g. in 2020 Georgia Senate, the November election is not included but the January one is), but we can add as we finalize

jcha1997 commented 3 years ago

https://github.com/kuriwaki/cces_candidates/commit/093dc55fae4a9cac761cc3fbbe2a5908e96a9698 includes the reference to the 2020 Georgia contests in the runoff variable.