get_httk_data_batch: Retrieve httk data via batch search

View source: R/exposure-APIs-batch.R

get_httk_data_batchR Documentation

Retrieve httk data via batch search

Description

Retrieve httk data via batch search

Usage

get_httk_data_batch(
  DTXSID = NULL,
  API_key = NULL,
  rate_limit = 0L,
  Server = exposure_api_server,
  verbose = FALSE
)

Arguments

DTXSID

The chemical identifier DTXSID

API_key

The user-specific API key

rate_limit

Number of seconds to wait between each request

Server

The root address for the API endpoint

verbose

A logical indicating if some "progress report" should be given.

Value

A named list of httk data corresponding to the input chemicals

Examples


# Retrieve information for BPA and Caffeine
dtxsids <- c('DTXSID7020182', 'DTXSID0020232')
httk_data <- get_httk_data_batch(DTXSID = dtxsids)


ctxR documentation built on April 12, 2025, 2:07 a.m.