From 9f4203b83ee3d3b78b61d39f0ca0232df2d30304 Mon Sep 17 00:00:00 2001 From: dylanshulman <89812072+dylanshulman@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:24:57 -0400 Subject: [PATCH] Why isn't this working --- updated_election_scraper_2024.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updated_election_scraper_2024.R b/updated_election_scraper_2024.R index acc27e3..a547222 100644 --- a/updated_election_scraper_2024.R +++ b/updated_election_scraper_2024.R @@ -43,7 +43,7 @@ for (row_number in 1:nrow(scraper)) { wrow <- data.frame(c1 = "Other Write-Ins", c2 = NA, c3 = NA, c4 = NA, c5 = NA, c6 = NA, c7 = write_in_votes, c8 = NA) colnames(wrow) <- colnames(table) table <- table[1:3, ] %>% bind_rows(wrow) - } + } # Write the CSV write_csv(table, each_row$file_name)