Skip to content

Commit

Permalink
Merge pull request #22 from ocean-tracking-network/at_to_across
Browse files Browse the repository at this point in the history
Changed _at to be a normal function with across()
  • Loading branch information
jackVanish authored Apr 2, 2024
2 parents 9ad4bda + 1574baf commit cd40f1c
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 cd40f1c

Please sign in to comment.