view_datasets_MexicoDataAPI: View Available Datasets in MexicoDataAPI

View source: R/view_datasets_MexicoDataAPI.R

view_datasets_MexicoDataAPIR Documentation

View Available Datasets in MexicoDataAPI

Description

This function lists all datasets available in the 'MexicoDataAPI' package. If the 'MexicoDataAPI' 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_MexicoDataAPI()

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("MexicoDataAPI", quietly = TRUE)) {
  library(MexicoDataAPI)
  view_datasets_MexicoDataAPI()
}

MexicoDataAPI documentation built on Aug. 8, 2025, 6:26 p.m.