Skip to content

Commit

Permalink
list datasets to return a tibble when include_additional_info is FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-hull committed May 22, 2024
1 parent a1f7466 commit fe3d339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/list_datasets.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
list_datasets <- function(include_additional_info = FALSE) {
data_sets <- phs_GET("package_list", "")$result
if(!include_additional_info){
data_sets%>%
unlist()
data_sets <- tibble::tibble("name" = unlist(data_sets))


return(data_sets)}
else{
Expand Down

0 comments on commit fe3d339

Please sign in to comment.