chemical_starts_with: Chemical starts with

View source: R/chemical-APIs.R

chemical_starts_withR Documentation

Chemical starts with

Description

Chemical starts with

Usage

chemical_starts_with(
  word = NULL,
  API_key = NULL,
  Server = chemical_api_server,
  verbose = FALSE,
  top = NULL
)

Arguments

word

A character string of a chemical name or portion of a chemical name

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.

top

The number of results to return if there are multiple results available

Value

A data.frame of chemicals and related values matching the query parameters

Author(s)

Paul Kruse, Kristin Issacs

Examples


# Pull chemicals that start with a fragment DTXSID
dtxsid_fragment <- chemical_starts_with(word = 'DTXSID702018')


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