Retrieve product data for exposure purposes batch
Source:R/exposure-APIs-batch.R
get_exposure_product_data_batch.Rd
Retrieve product data for exposure purposes batch
Usage
get_exposure_product_data_batch(
DTXSID = NULL,
API_key = NULL,
rate_limit = 0L,
Server = exposure_api_server,
verbose = FALSE
)
Arguments
- DTXSID
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.
Examples
has_ctx_key() & is.na(ctx_key() == 'FAKE_KEY')
#> [1] FALSE
# Pull exposure functional use data for multiple chemicals
dtxsid <- c('DTXSID7020182', 'DTXSID2021315')
dtxsid_product_data <- get_exposure_product_data_batch(DTXSID = dtxsid)