get_chemical_mrv {ccdR}R Documentation

Get mrv file by DTXSID or DTXCID

Description

Get mrv file by DTXSID or DTXCID

Usage

get_chemical_mrv(
  DTXSID = NULL,
  DTXCID = NULL,
  API_key = NULL,
  Server = chemical_api_server,
  verbose = FALSE
)

Arguments

DTXSID

The chemical identifier DTXSID

DTXCID

The chemical identifier DTXCID

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

XML file format for representing a mrv file.

Examples


# Pull mrv file for BPA by dtxsid
bpa_mrv <- get_chemical_mrv(DTXSID = 'DTXSID7020182')
# Pull mrv file for BPA by dtxcid
bpa_mrv <- getchemical_mrv(DTXCID = 'DTXCID30182')


[Package ccdR version 1.1.0 Index]