Skip to content

Commit

Permalink
update sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjbe committed Jun 17, 2024
1 parent 1942021 commit 7fab8b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/sandbox.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ explore <- final |>
remaining_nas <- final |>
filter(is.na(count_as_filed_clean),
!is.na(count_as_filed)) |>
select(-c(id, district, case_number, case_type, date_filed, date_closed, counts, open_counts, disposition,
select(-c(id, district, case_number, case_type, date_filed, date_closed, open_counts, disposition,
count_as_filed_clean)) |>
group_by(count_as_filed) |>
mutate(n = n()) |>
Expand All @@ -66,7 +66,7 @@ remaining_nas |>
#

final |>
filter(str_detect(count_as_filed_clean, "Obstruction")) |>
# filter(str_detect(count_as_filed_clean, "Obstruction")) |>
# distinct(count_as_filed, .keep_all = TRUE) |>
count(count_as_filed, count_as_filed_clean, sort = T) |> view()

Expand Down

0 comments on commit 7fab8b9

Please sign in to comment.