get_ecotox_hazard_by_dtxsid: Get ecotox hazard data by DTXSID

View source: R/hazard-APIs.R

get_ecotox_hazard_by_dtxsidR Documentation

Get ecotox hazard data by DTXSID

Description

Get ecotox hazard data by DTXSID

Usage

get_ecotox_hazard_by_dtxsid(
  DTXSID = NULL,
  API_key = NULL,
  Server = hazard_api_server,
  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 (ecotox) hazard data

Examples


# Pull ecotox hazard data for BPA
bpa_ecotox <- get_ecotox_hazard_by_dtxsid(DTXSID = 'DTXSID7020182')


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