Skip to content

Commit

Permalink
change name of show_datasets to list_datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-hull committed May 14, 2024
1 parent 63d7b7c commit e9d7e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/show_datasets.R
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#' Show all available datasets
#'
#' `show_datasets()` shows all of the datasets hosted on the phs open data platform.
#' `list_datasets()` shows all of the datasets hosted on the phs open data platform.
#'
#' @return A character vector.
#' @export
#'
#' @examples
#' head(show_datasets())
#'
show_datasets <- function() {
list_datasets <- function() {
data_sets <- phs_GET("package_list", "")$result %>%
unlist()

Expand Down

0 comments on commit e9d7e81

Please sign in to comment.