get_aggregate_records_by_medium_batch: Get Aggregate Records by medium via batch

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

get_aggregate_records_by_medium_batchR Documentation

Get Aggregate Records by medium via batch

Description

Get Aggregate Records by medium via batch

Usage

get_aggregate_records_by_medium_batch(
  Medium = NULL,
  API_key = NULL,
  rate_limit = 0L,
  Server = "https://comptox.epa.gov/ctx-api/exposure",
  verbose = FALSE
)

Arguments

Medium

The MMDB medium of exposure

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 logicial indicating if some "progress report" should be given.

Value

A list of data.frames containing aggregate records data for each input medium.

Examples


# Retrieve aggregate records data for 'surface water' and 'soil'
  get_aggregate_records_by_medium_batch(Medium = c('surface water', 'soil'))


ctxR documentation built on Nov. 5, 2025, 5:08 p.m.