get_chemical_weight_fraction: Get Chemical Weight Fractions

View source: R/exposure-APIs.R

get_chemical_weight_fractionR Documentation

Get Chemical Weight Fractions

Description

Get Chemical Weight Fractions

Usage

get_chemical_weight_fraction(
  DTXSID = NULL,
  API_key = NULL,
  Server = "https://comptox.epa.gov/ctx-api/exposure",
  verbose = FALSE
)

Arguments

DTXSID

The chemical identifier DTXSID

API_key

The user-specific API key

Server

The root address for the API endpoint

verbose

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

Value

A data.frame containing chemical weight fraction data.

Examples


# Get chemical weight fraction data for Caffeine
get_chemical_weight_fraction('DTXSID0020232')


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