Skip to content

Commit

Permalink
Add distinct() call
Browse files Browse the repository at this point in the history
  • Loading branch information
asadow committed Mar 8, 2024
1 parent 7ef4de0 commit 3093373
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,7 @@ mm_data <- function(endpoint, ..., allfields = TRUE) {
}

data <- pages |> mm_pagebind()
remove_api_urls(data)
data |>
remove_api_urls() |>
dplyr::distinct()
}
1 change: 0 additions & 1 deletion R/list_gets.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#'
#' @inheritParams mm_data
#' @returns A list of GET requests of class `httr2_request`.
#' @noRd
#' @examplesIf megamation:::has_creds()
#' date <- seq.Date(as.Date("2022-01-01"), as.Date("2023-01-31"), by = "day")
#' megamation:::mm_list_get_reqs("timecard", date = date)
Expand Down

0 comments on commit 3093373

Please sign in to comment.