Skip to content

Commit

Permalink
Fix zero-filling on 'old' IPHC data
Browse files Browse the repository at this point in the history
  • Loading branch information
seananderson committed Jun 7, 2024
1 parent dc4b326 commit 1cda3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data-raw/iphc-simple.R
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ full_old <- select(
old, -number_observed, -species_common_name) |>
distinct()
full_old <- purrr::map_dfr(
sort(unique(old$species_common_name)),
sort(unique(dat_pbs$species_common_name)),
\(x) mutate(full_old, species_common_name = x)
)
missing <- anti_join(full_old, old)
Expand Down

0 comments on commit 1cda3d0

Please sign in to comment.