get_cancer_hazard_batch {ccdR}R Documentation

Get cancer hazard batch

Description

Get cancer hazard batch

Usage

get_cancer_hazard_batch(
  DTXSID = NULL,
  API_key = NULL,
  rate_limit = 0L,
  Server = hazard_api_server,
  verbose = FALSE
)

Arguments

DTXSID

The chemical identifier DTXSIDs

API_key

The user-specific API key.

rate_limit

Number of seconds to wait between requests

Server

The root address for the API endpoint

verbose

A logical indicating if some “progress report” should be given.

Value

A data.table containing cancer hazard and related data for each input DTXSID.

Examples


# Pull cancer hazard data for multiples chemicals
dtxsid <- c('DTXSID7020182', 'DTXSID2021315')
dtxsid_cancer_hazard <- get_cancer_hazard_batch(DTXSID = dtxsid)


[Package ccdR version 1.1.0 Index]