Skip to content

Commit

Permalink
Changed _at to be a normal function with across()
Browse files Browse the repository at this point in the history
  • Loading branch information
jackVanish committed Apr 2, 2024
1 parent 9ad4bda commit 1574baf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/otn_imos_column_map.R
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ derive_tag_from_det <- function(det_dataframe, tagname_column = "tagname") {
# Group by tagname. We may need to add the option to use alternative columns in the future, but that's doable, I think.
# tagname_column <- as.name(tagname_column)
distinctTag <- det_dataframe %>%
group_by_at(tagname_column) %>%
distinct_at(tagname_column, .keep_all = TRUE)
group_by(across(tagname_column)) %>%
distinct(across(tagname_column), .keep_all = TRUE)

# To get the correct transmitter lat/lon, we need to get the releases.
releases <- det_dataframe %>%
Expand Down

0 comments on commit 1574baf

Please sign in to comment.