view_datasets_digestive: View Available Datasets in DigestiveDataSets

View source: R/view_datasets_digestive.R

view_datasets_digestiveR Documentation

View Available Datasets in DigestiveDataSets

Description

This function lists all datasets available in the 'DigestiveDataSets' package. If the 'DigestiveDataSets' package is not loaded, it stops and shows an error message. If no datasets are available, it returns a message and an empty vector.

Usage

view_datasets_digestive()

Value

A character vector with the names of the available datasets. If no datasets are found, it returns an empty character vector.

Examples

if (requireNamespace("DigestiveDataSets", quietly = TRUE)) {
  library(DigestiveDataSets)
  view_datasets_digestive()
}

DigestiveDataSets documentation built on June 8, 2025, 1:04 p.m.