This function first resolves chemical identifiers using chemi_resolver_lookup_bulk,
then sends the resolved Chemical objects to the API endpoint.
Usage
chemi_resolver_getpubchemlist(
query,
idType = "AnyId",
section = NULL,
all_pages = TRUE,
max_pages = 100
)Arguments
- query
Character vector of chemical identifiers (DTXSIDs, CAS, SMILES, InChI, etc.)
- idType
Type of identifier. Options: DTXSID, DTXCID, SMILES, MOL, CAS, Name, InChI, InChIKey, InChIKey_1, AnyId (default)
- section
Optional parameter
- all_pages
Logical; if TRUE (default), automatically fetches all pages. If FALSE, returns a single page using manual pagination parameters.
- max_pages
Maximum number of pages to fetch when all_pages is TRUE.
Examples
if (FALSE) { # \dontrun{
chemi_resolver_getpubchemlist(query = c("50-00-0", "DTXSID7020182"))
} # }
