exomol_datasets: Line Lists of a Molecule in the ExoMol Database

View source: R/molecular_spectrum.R

exomol_datasetsR Documentation

Line Lists of a Molecule in the ExoMol Database

Description

Lists the line lists of a molecule in the ExoMol database, for each isotopologue, with the sizes of their files, to choose the dataset of molecular_spectrum().

Usage

exomol_datasets(molecule, timeout = 60)

Arguments

molecule

The molecule, as named by ExoMol, such as "CN", "C2", "OH" or "AlO".

timeout

The download timeout, in seconds. Default is 60.

Details

The list is read from the ExoMol API, and needs the jsonlite package and an internet connection.

Value

A tibble with one row per line list: the molecule, the isotopologue (as in the file names), the dataset, whether ExoMol recommended it, and the sizes of its transition and states files (trans_mb, states_mb, in MB; NA when not listed).

See Also

molecular_spectrum()

Examples


# needs an internet connection; gives up after 20 s if ExoMol does not answer
if (rlang::is_installed("jsonlite")) {
  try(exomol_datasets("CN", timeout = 20))
}


specProc documentation built on Nov. 20, 2026, 5:11 p.m.