view_datasets_ChinAPIs: View Available Datasets in ChinAPIs

View source: R/view_datasets_ChinAPIs.R

view_datasets_ChinAPIsR Documentation

View Available Datasets in ChinAPIs

Description

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

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

ChinAPIs documentation built on Aug. 27, 2025, 1:08 a.m.